diff options
author | Michael Widenius <monty@mysql.com> | 2010-08-09 20:49:42 +0300 |
---|---|---|
committer | Michael Widenius <monty@mysql.com> | 2010-08-09 20:49:42 +0300 |
commit | 7cf5100412e76516304359e7d6a2824bc6a57023 (patch) | |
tree | cdd0610d1136997b29000e62591766ed9c168df3 /strings/longlong2str.c | |
parent | 3bb2045fe12fa4ee8af11b9ff38cee39e67de67a (diff) | |
parent | 12648015b322e885923f87d919c07529423a0eca (diff) | |
download | mariadb-git-7cf5100412e76516304359e7d6a2824bc6a57023.tar.gz |
Merge with 5.2
Fixed some compiler errors regarding longlong2str()
strings/longlong2str.c:
Fixed usage of wrong variable
strings/longlong2str_asm.c:
Fixed wrong prototype
Diffstat (limited to 'strings/longlong2str.c')
-rw-r--r-- | strings/longlong2str.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/longlong2str.c b/strings/longlong2str.c index 61b45b731c4..3b837fac6d4 100644 --- a/strings/longlong2str.c +++ b/strings/longlong2str.c @@ -81,14 +81,14 @@ char *longlong2str(longlong val,char *dst,int radix, int upcase) { ulonglong quo= uval/(uint) radix; uint rem= (uint) (uval- quo* (uint) radix); - *--p = _dig_vec[rem]; + *--p = dig_vec[rem]; uval= quo; } long_val= (long) uval; while (long_val != 0) { long quo= long_val/radix; - *--p = _dig_vec[(uchar) (long_val - quo*radix)]; + *--p = dig_vec[(uchar) (long_val - quo*radix)]; long_val= quo; } while ((*dst++ = *p++) != 0) ; |