Change the ->open method of writers to void.
[paraslash.git] / string.c
index 05febebf2e9b39c6e907b53cf05837cef94e8fb1..c228c24c4f27eee753349e361afd1d70708aa2b4 100644 (file)
--- a/string.c
+++ b/string.c
@@ -521,9 +521,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)