Re: [PATCH] fixes compiler warning on /test/test_octstr_format.c

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <00d601c98ca4$1c36d310$02b2a8c0@tardis>
Hi,

I don't think that the ull suffix is needed. The variable is casted 
correctly from the equality. Just the number is enough.

BR,
Nikos
----- Original Message ----- 
From: "Vincent CHAVANIS" <[email protected]>
To: <[email protected]>
Sent: Wednesday, February 11, 2009 4:03 PM
Subject: Re: [PATCH] fixes compiler warning on /test/test_octstr_format.c


> oups wrong patch!
>
> here is the new one.
>


--------------------------------------------------------------------------------


> 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 = 18446744073709551615ull;
>
>     gwlib_init();
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.