mescc: Mes C Libray: Fix off_t.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 4 Sep 2019 15:35:33 +0000 (17:35 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 4 Sep 2019 15:35:33 +0000 (17:35 +0200)
* include/sys/types.h (off_t): Drop unsigned.

include/sys/types.h

index 03dd10418f330e1de7f58e541ec85ae06a5e695e..a1b0726c182af5bb68592d8790443ac9de1674b4 100644 (file)
@@ -87,7 +87,7 @@ typedef unsigned long uintptr_t;
 #ifndef __MES_OFF_T
 #define __MES_OFF_T
 #undef off_t
-typedef unsigned long off_t;
+typedef long off_t;
 #endif
 
 #ifndef __MES_OFF64_T