projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NWC: fix format string for loff_t which is longlog on 32 bit
[citadel.git]
/
citadel
/
sysdep_decls.h
diff --git
a/citadel/sysdep_decls.h
b/citadel/sysdep_decls.h
index d301ffb142b5823a9ae6b689b6fe7c155fe9e7be..23e8b2dd8d10ea4b93fa96368adbf26a6b5c4b97 100644
(file)
--- a/
citadel/sysdep_decls.h
+++ b/
citadel/sysdep_decls.h
@@
-31,6
+31,12
@@
#define SIZE_T_FMT "%ld"
#endif
+#if SIZEOF_LOFF_T == SIZEOF_LONG
+#define LOFF_T_FMT "%ld"
+#else
+#define LOFF_T_FMT "%lld"
+#endif
+
void cputbuf(const StrBuf *Buf);
#ifdef __GNUC__