From 286065b584ac816a1185f3490aa96fdc14999851 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Mon, 2 Mar 2009 09:34:47 +0000 Subject: [PATCH] cfs updated --- platform/cooja/cfs/cfs-cooja.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/platform/cooja/cfs/cfs-cooja.c b/platform/cooja/cfs/cfs-cooja.c index 331d120c7..78766d9e5 100644 --- a/platform/cooja/cfs/cfs-cooja.c +++ b/platform/cooja/cfs/cfs-cooja.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: cfs-cooja.c,v 1.8 2009/02/27 16:06:25 fros4943 Exp $ + * $Id: cfs-cooja.c,v 1.9 2009/03/02 09:34:47 fros4943 Exp $ */ #include #include "lib/simEnvChange.h" @@ -102,15 +102,14 @@ cfs_write(int f, const void *buf, unsigned int len) } } /*---------------------------------------------------------------------------*/ -unsigned int -cfs_seek(int f, unsigned int o, int w) +cfs_offset_t +cfs_seek(int f, cfs_offset_t o, int w) { if(f == FLAG_FILE_OPEN) { file.fileptr = o; return o; - } else { - return -1; } + return -1; } /*---------------------------------------------------------------------------*/ int