From: Wilfried Göesgens Date: Sat, 13 Oct 2007 14:34:39 +0000 (+0000) Subject: * we need to compare sizeof int to sizeof sizet to switch this between 32 and 64... X-Git-Tag: v7.86~2967 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=93dca34bb04701680beef04f22bbc6e6e28b03fd;p=citadel.git * we need to compare sizeof int to sizeof sizet to switch this between 32 and 64 bits. --- diff --git a/citadel/sysdep_decls.h b/citadel/sysdep_decls.h index 17cb5b63f..59343207e 100644 --- a/citadel/sysdep_decls.h +++ b/citadel/sysdep_decls.h @@ -15,10 +15,10 @@ #include "sysdep.h" #include "server.h" -#if SIZEOF_SIZE_T == SIZEOF_LONG -#define SIZE_T_FMT "%ld" -#else +#if SIZEOF_SIZE_T == SIZEOF_INT #define SIZE_T_FMT "%d" +#else +#define SIZE_T_FMT "%ld" #endif