mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Fixed compiler warnings.
client/mysqltest.c: Fixed a compiler warning. support-files/compiler_warnings.supp: Suppressed compiler warnings on Win 64.
This commit is contained in:
parent
c04d5985c1
commit
33ccc75633
2 changed files with 3 additions and 1 deletions
|
@ -6730,7 +6730,7 @@ int reg_replace(char** buf_p, int* buf_len_p, char *pattern,
|
|||
if ((start_off=subs[back_ref_num].rm_so) > -1 &&
|
||||
(end_off=subs[back_ref_num].rm_eo) > -1)
|
||||
{
|
||||
int block_len= end_off - start_off;
|
||||
int block_len= (int) (end_off - start_off);
|
||||
memcpy(res_p,str_p + start_off, block_len);
|
||||
res_p += block_len;
|
||||
}
|
||||
|
|
|
@ -48,6 +48,7 @@ dbm.c : .*'item.dsize' is used uninitialized in this function.*
|
|||
.* : conversion from '.*size_t' to 'uint32'.*
|
||||
.* : conversion from '.*size_t' to 'off_t'.*
|
||||
.* : conversion from '.*size_t' to 'size_s'.*
|
||||
.* : conversion from 'u?lint' to 'int'.*
|
||||
ha_berkeley.cc : .*conversion from 'ulonglong' to 'char'.*
|
||||
|
||||
#
|
||||
|
@ -74,4 +75,5 @@ mi_packrec.c : .*result of 32-bit shift implicitly converted to 64 bits.* : 567
|
|||
# in 5.0. Please do not merge upwards.
|
||||
#
|
||||
socket_wrapper.cpp : .*truncation of constant value.*
|
||||
socket_wrapper.hpp : .*truncation of constant value.*
|
||||
viossl.c : .*conversion from 'SOCKET' to 'socket_t'.*
|
||||
|
|
Loading…
Reference in a new issue