vsprintf:fix: Change type returned by ustrtoul
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 11 Dec 2012 10:09:42 +0000 (11:09 +0100)
committerTom Rini <trini@ti.com>
Thu, 13 Dec 2012 18:46:02 +0000 (11:46 -0700)
commit3ec44111aa33f568493f565285a3a519ef38e1dc
tree8348dda2775389447fd23cb0b076b5b5a2b5657b
parentcaddc17f3019a437b972cd04a8c9a9cbea344def
vsprintf:fix: Change type returned by ustrtoul

The ustrtoul shall convert string defined size (e.g. 1GiB) to unsigned
long type (as its name implies).

Up till now it had returned int, which might cause problems with large
numbers (GiB range), when interpreted as U2 signed numbers.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
include/exports.h
lib/vsprintf.c