diff options
author | jimw@mysql.com <> | 2005-03-18 16:12:25 -0800 |
---|---|---|
committer | jimw@mysql.com <> | 2005-03-18 16:12:25 -0800 |
commit | ee2b4ec959b5813eb2105ea068ae3f725b106a3b (patch) | |
tree | 61d6303821b0ae97f521facf399af6c9ba99e342 /strings/ctype-simple.c | |
parent | 348c285d0f06b46809758f26ca92d6ee6155bac9 (diff) | |
download | mariadb-git-ee2b4ec959b5813eb2105ea068ae3f725b106a3b.tar.gz |
Eliminate warnings noticed by VC7. This includes fixing my_mmap() on
Windows to call CreateFileMapping() with correct arguments, and
propogating the introduction of query_id_t to everywhere query ids are
passed around. (Bug #8826)
Diffstat (limited to 'strings/ctype-simple.c')
-rw-r--r-- | strings/ctype-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c index 61e7cf1571b..91888771c80 100644 --- a/strings/ctype-simple.c +++ b/strings/ctype-simple.c @@ -894,7 +894,7 @@ int my_longlong10_to_str_8bit(CHARSET_INFO *cs __attribute__((unused)), while (long_val != 0) { long quo= long_val/10; - *--p = '0' + (long_val - quo*10); + *--p = '0' + (char)(long_val - quo*10); long_val= quo; } |