1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

compilation failure on Win64

conversion from 'size_t' to 'int', possible loss of data
This commit is contained in:
Sergei Golubchik
2018-08-08 22:05:46 +02:00
parent 7ec7250416
commit 31eb49f1f4
2 changed files with 3 additions and 3 deletions

View File

@@ -96,8 +96,8 @@ my_bool ma_dynstr_append_quoted(DYNAMIC_STRING *str,
const char *append, size_t len,
char quote)
{
uint additional= str->alloc_increment;
uint lim= additional;
size_t additional= str->alloc_increment;
size_t lim= additional;
uint i;
if (ma_dynstr_realloc(str, len + additional + 2))