[PATCH] Update get_number_value()
commitda6d44fd6192915ca6b76f5c6ec565109620be4f
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>
Wed, 30 Jun 2004 18:06:47 +0000 (30 11:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Apr 2005 04:02:10 +0000 (7 21:02 -0700)
tree03f2e25e7f22171edce4447d1b3008f1c6cad711
parent2d0659ec1e30a223aaafdf04864356260f8fa17e
[PATCH] Update get_number_value()

This updates the type semantics of "get_number_value()" to C99 semantics
rather than the previous gcc/C90 type expansion semantics.

Now regular decimal integers (without suffixes) that are too big to fit
in "long" expand to "long long" rather than "unsigned long".

It also uses "strtoull()" rather than open-coding the conversion.
expression.c