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 /libmysql | |
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 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 9746cb222fa..f3809c9257e 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -3608,7 +3608,7 @@ static void fetch_long_with_conversion(MYSQL_BIND *param, MYSQL_FIELD *field, if (is_unsigned) data= ulonglong2double(value); else - data= value; + data= (double)value; doublestore(buffer, data); *param->error= is_unsigned ? ((ulonglong) value) != ((ulonglong) (*(double*) buffer)) : |