summaryrefslogtreecommitdiff
path: root/tests/libtest/lib1521.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib1521.c')
-rw-r--r--tests/libtest/lib1521.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libtest/lib1521.c b/tests/libtest/lib1521.c
index 367680198..dee85a238 100644
--- a/tests/libtest/lib1521.c
+++ b/tests/libtest/lib1521.c
@@ -20,8 +20,8 @@
*
***************************************************************************/
#include "test.h"
-
#include "memdebug.h"
+#include <limits.h>
/* This source code is generated by mk-lib1521.pl ! */
@@ -29,8 +29,8 @@ struct data {
char *blaha;
};
-#define LO -2147483647
-#define HI 2147483648
+#define LO LONG_MIN
+#define HI LONG_MAX
#define OFF_VAL (curl_off_t) 3123123123
#define OFF_LO (curl_off_t) LO
#define OFF_HI (curl_off_t) HI