summaryrefslogtreecommitdiff
path: root/tests/utils.tpl
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@coltrane>2006-05-02 13:30:11 +0000
committerErik de Castro Lopo <erikd@coltrane>2006-05-02 13:30:11 +0000
commit5c9136b5b9565d3b7f40a0f523221a9b7db3ca8b (patch)
treec22236f02952c1733d2d0f9a757b1fa03f6497ba /tests/utils.tpl
parent50823c03830b89c5e8274702cd742c844895f799 (diff)
Fix more signed/unsigned issues.
Diffstat (limited to 'tests/utils.tpl')
-rw-r--r--tests/utils.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.tpl b/tests/utils.tpl
index 63ebf13..23328bd 100644
--- a/tests/utils.tpl
+++ b/tests/utils.tpl
@@ -31,6 +31,7 @@
#define SF_COUNT_TO_LONG(x) ((long) (x))
#define ARRAY_LEN(x) ((int) (sizeof (x)) / (sizeof ((x) [0])))
+#define SIGNED_SIZEOF(x) ((int64_t) (sizeof (x)))
#define PIPE_INDEX(x) ((x) + 500)
#define PIPE_TEST_LEN 12345
@@ -138,7 +139,6 @@ void test_seek_or_die
#define M_PI 3.14159265358979323846264338
#endif
-#define SIGNED_SIZEOF(x) ((int) (sizeof (x)))
#define LOG_BUFFER_SIZE 2048
[+ FOR float_type +]