merge

parent f6d51a44
...@@ -62,7 +62,7 @@ template <uint default_width> class Bitmap ...@@ -62,7 +62,7 @@ template <uint default_width> class Bitmap
char *print(char *buf) const char *print(char *buf) const
{ {
char *s=buf; char *s=buf;
const uchar *e=buffer, *b=e+sizeof(buffer)-1; const uchar *e=(uchar *)buffer, *b=e+sizeof(buffer)-1;
while (!*b && b>e) while (!*b && b>e)
b--; b--;
if ((*s=_dig_vec_upper[*b >> 4]) != '0') if ((*s=_dig_vec_upper[*b >> 4]) != '0')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment