[PATCH] fixes compiler warning on /test/test_octstr_format.c
Vincent CHAVANIS <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Patch that fixes compiler warning - unsigned long long is max 18446744073709551615 - tell the compiler we are dealing with ull Vincent
test_octstr_format.txt
(text/plain, 450 B)
diff -rauw /gateway-cvs/test/test_octstr_format.c /gateway/test/test_octstr_format.c
--- /gateway-cvs/test/test_octstr_format.c 2009-02-04 16:44:32.000000000 +0100
+++ /gateway/test/test_octstr_format.c 2009-02-11 14:47:47.000000000 +0100
@@ -63,7 +63,7 @@
int main(void)
{
Octstr *os, *os2, *os3, *os4, *os5;
- unsigned long long n = 78234782386423784267234;
+ unsigned long long n = 18446744073709551615u;
gwlib_init();