summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-selectcommand.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-03-30 11:43:04 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-03-30 11:43:04 +0000
commitc25edfb75a65b80a0e0c43bbaf59c7cd806f0b5b (patch)
treeb73dd894376677fb28114bc62c502492d4d42d29 /libmysqlpp/my-selectcommand.cpp
parentMore clang-tidy fixes (diff)
downloadlibdbpp-mysql-c25edfb75a65b80a0e0c43bbaf59c7cd806f0b5b.tar.bz2
libdbpp-mysql-c25edfb75a65b80a0e0c43bbaf59c7cd806f0b5b.tar.xz
libdbpp-mysql-c25edfb75a65b80a0e0c43bbaf59c7cd806f0b5b.zip
Tidy fixes for latest clanglibdbpp-mysql-1.4.1
Diffstat (limited to 'libmysqlpp/my-selectcommand.cpp')
-rw-r--r--libmysqlpp/my-selectcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqlpp/my-selectcommand.cpp b/libmysqlpp/my-selectcommand.cpp
index 893f79f..bb7ca10 100644
--- a/libmysqlpp/my-selectcommand.cpp
+++ b/libmysqlpp/my-selectcommand.cpp
@@ -24,7 +24,7 @@ MySQL::SelectCommand::execute()
}
MYSQL_RES * prepare_meta_result = mysql_stmt_result_metadata(stmt);
MYSQL_FIELD * fieldDefs = mysql_fetch_fields(prepare_meta_result);
- for (unsigned int i = 0; i < fields.size(); i += 1) {
+ for (std::size_t i = 0; i < fields.size(); i += 1) {
switch (fieldDefs[i].type) {
case MYSQL_TYPE_TINY:
case MYSQL_TYPE_SHORT: