From 545c0c506ef2f5b8277e72edc38e03261b717b75 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 1 Mar 2009 12:28:39 +0000 Subject: [PATCH] Switched cfs offset type to signed int to allow backward movements with cfs_seek. --- core/cfs/cfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cfs/cfs.h b/core/cfs/cfs.h index c47714771..17bf00236 100644 --- a/core/cfs/cfs.h +++ b/core/cfs/cfs.h @@ -54,7 +54,7 @@ * * Author: Adam Dunkels * - * $Id: cfs.h,v 1.17 2009/03/01 12:00:00 nvt-se Exp $ + * $Id: cfs.h,v 1.18 2009/03/01 12:28:39 oliverschmidt Exp $ */ #ifndef __CFS_H__ #define __CFS_H__ @@ -62,7 +62,7 @@ #include "contiki.h" #ifndef CFS_CONF_OFFSET_TYPE -typedef unsigned cfs_offset_t; +typedef int cfs_offset_t; #else typedef CFS_CONF_OFFSET_TYPE cfs_offset_t; #endif