diff options
| author | 2009-09-10 08:39:42 +0000 | |
|---|---|---|
| committer | 2009-09-10 08:39:42 +0000 | |
| commit | e47035e8342cd2532358a6af3f7314caf42ba292 (patch) | |
| tree | abc0ec31497f4ac0e804200f014cdf23de3c9871 /src/lib | |
| parent | fa68c11272125a442eff36e6da5cd3b60256b8ef (diff) | |
Cleanups and version bump.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/util/corestr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/corestr.c b/src/lib/util/corestr.c index 4a291b03bc7..97b8154757e 100644 --- a/src/lib/util/corestr.c +++ b/src/lib/util/corestr.c @@ -132,7 +132,7 @@ char *core_i64_hex_format(UINT64 value, UINT8 mindigits) char *bufbase = &buffer[index++ % 16][0]; char *bufptr = bufbase; INT8 curdigit; - + for (curdigit = 15; curdigit >= 0; curdigit--) { int nibble = (value >> (curdigit * 4)) & 0xf; @@ -145,6 +145,6 @@ char *core_i64_hex_format(UINT64 value, UINT8 mindigits) if (bufptr == bufbase) *bufptr++ = '0'; *bufptr = 0; - + return bufbase; } |
