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

Martin Conte Mac Donell <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Wed, Feb 11, 2009 at 9:54 PM, Nikos Balkanas <[email protected]> wrote:
> Hi,
>
> I don't think that the ull suffix is needed. The variable is casted
> correctly from the equality. Just the number is enough.

It is not enough and variable is not "casted", "the number" is a
constant. If you don't put this sufix you COULD get warnings like

"""
integer constant is so large that it is unsigned
this decimal constant is unsigned only in ISO C90
integer constant is too large for 'long' type
"""

M.
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.