From 5a440dd00319851138cbdf9f4e1c27aad2f19d8b Mon Sep 17 00:00:00 2001 From: myrfy001 Date: Tue, 17 Nov 2015 14:30:04 +0800 Subject: [PATCH] off_t changed to signed to stay the same as POSIX On many other tool chains, like TI's new MSG430-GCC, the typedef will be conflict. --- platform/sky/platform-conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/sky/platform-conf.h b/platform/sky/platform-conf.h index f5530f3aa..a4a7300b6 100644 --- a/platform/sky/platform-conf.h +++ b/platform/sky/platform-conf.h @@ -71,7 +71,7 @@ /* Types for clocks and uip_stats */ typedef unsigned short uip_stats_t; typedef unsigned long clock_time_t; -typedef unsigned long off_t; +typedef long off_t; /* the low-level radio driver */ #define NETSTACK_CONF_RADIO cc2420_driver