mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Switched cfs offset type to signed int to allow backward movements with cfs_seek.
This commit is contained in:
parent
1585077da7
commit
545c0c506e
@ -54,7 +54,7 @@
|
||||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $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
|
||||
|
Loading…
Reference in New Issue
Block a user