X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=string.c;fp=string.c;h=1d8f69b938ca8a1139daf10a6b4139d0d97e5e42;hb=13bcca2442dea6c5782f6281dc48dce3a86e1281;hp=f51f3574f0cf372bdd8febb5ac517c45e3d92d59;hpb=a924e1306eaef8444cd5f3b1ed010bca4bcb3f98;p=paraslash.git diff --git a/string.c b/string.c index f51f3574..1d8f69b9 100644 --- a/string.c +++ b/string.c @@ -525,9 +525,9 @@ __printf_2_3 int para_printf(struct para_buffer *b, const char *fmt, ...) } } -/** \cond LLONG_MAX and LLONG_LIN might not be defined. */ +/** \cond LLONG_MAX and LLONG_MIN might not be defined. */ #ifndef LLONG_MAX -#define LLONG_MAX (1 << (sizeof(long) - 1)) +#define LLONG_MAX 9223372036854775807LL #endif #ifndef LLONG_MIN #define LLONG_MIN (-LLONG_MAX - 1LL)