From 8193b47ceb4c1d2044b6a09f08d795b711704726 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 13 Oct 2019 14:13:40 +0100 Subject: Fix literal booleans --- libmysqlpp/my-column.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmysqlpp/my-column.cpp') diff --git a/libmysqlpp/my-column.cpp b/libmysqlpp/my-column.cpp index 403933c..60c8c10 100644 --- a/libmysqlpp/my-column.cpp +++ b/libmysqlpp/my-column.cpp @@ -24,7 +24,7 @@ MySQL::StringColumn::StringColumn(const char * name, unsigned int field, MYSQL_B { b->is_null = &is_null; b->buffer_type = MYSQL_TYPE_STRING; - b->is_unsigned = 0; + b->is_unsigned = false; b->buffer = value.data(); b->buffer_length = len; b->length = &length; @@ -62,7 +62,7 @@ namespace MySQL { { b->is_null = &is_null; b->buffer_type = MT; - b->is_unsigned = 0; + b->is_unsigned = false; b->buffer = &value; b->buffer_length = sizeof(T); } -- cgit v1.2.3