Implemented Utility::convert function to convert size_t -> uint safely and on the...
authorDominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Sun, 8 Sep 2019 00:04:50 +0000 (02:04 +0200)
committerDominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Sun, 8 Sep 2019 00:04:50 +0000 (02:04 +0200)
commitb4dee67bf573234a17df06ea11529fa040d58be0
treea3d2743469a62fad38e615b60fbe3ed67556767c
parent5ae3435fe6c849ec6807e01c5854152decfe2bad
Implemented Utility::convert function to convert size_t -> uint safely and on the fly. Often necessary for Qt and WIN32 functions. Using this will not generate compiler warnings of possible truncation. First call implemented in ownsql.cpp

Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
src/common/ownsql.cpp
src/common/utility.cpp
src/common/utility.h