From: Thomas Leonard Date: Thu, 26 Jun 2014 11:28:22 +0000 (+0100) Subject: mini-os: made off_t type signed X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a1f5b5d5296c49a91ab5a6da926092fc563893e9;p=people%2Fliuw%2Flibxenctrl-split%2Fmini-os.git mini-os: made off_t type signed POSIX requires this. Signed-off-by: Thomas Leonard Acked-by: Ian Campbell Acked-by: Samuel Thibault --- diff --git a/include/types.h b/include/types.h index 6640ede..de356e8 100644 --- a/include/types.h +++ b/include/types.h @@ -73,7 +73,7 @@ typedef unsigned long uint64_t; #endif typedef uint64_t uintmax_t; typedef int64_t intmax_t; -typedef uint64_t off_t; +typedef int64_t off_t; #endif typedef intptr_t ptrdiff_t;