summaryrefslogtreecommitdiff
path: root/storage/xtradb/include
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-05-17 16:37:33 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-05-18 09:07:15 +0300
commita436e349dfd0035b2b861ee772b47089043f5a2a (patch)
tree2985e295137f4056ff8cbfcc27959516cca9c10d /storage/xtradb/include
parent9f57e595b49744e3c1920f8c46a2ec8e7fc5fd66 (diff)
downloadmariadb-git-a436e349dfd0035b2b861ee772b47089043f5a2a.tar.gz
ibuf_get_volume_buffered_hash(): Use a proper type cast
On 64-bit systems, the constant 1 would be 32-bit (int or unsigned) by default. Cast the constant to ulint before shifting to avoid a -fsanitize=undefined warning or any potential overflow.
Diffstat (limited to 'storage/xtradb/include')
0 files changed, 0 insertions, 0 deletions