Try to avoid long unsigned int overflow.
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 3 Apr 2009 08:21:44 +0000 (08:21 +0000)
committerticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Fri, 3 Apr 2009 08:21:44 +0000 (08:21 +0000)
commit33c7e93565efbb0c07d9aa0f8b72ca737111f338
tree2c5c5c3515448f10b7eea284f9e1dca46be3d0e0
parent67d8721cc9b065a03e19c0495a2906a06017327a
Try to avoid long unsigned int overflow.
When free size is more than 4G, long unsigned int may enounter overflow

git-svn-id: http://opkg.googlecode.com/svn/trunk@210 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
libopkg/opkg_utils.c
libopkg/opkg_utils.h