aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/mysql/traits.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/traits.cxx b/odb/mysql/traits.cxx
index 93b591d..7a5f39e 100644
--- a/odb/mysql/traits.cxx
+++ b/odb/mysql/traits.cxx
@@ -88,7 +88,7 @@ namespace odb
// Figure out the length. We cannot use strlen since it may
// not be 0-terminated (strnlen is not standard).
//
- for (n = 0; n != N && v[n] != '\0'; ++n);
+ for (n = 0; n != N && v[n] != '\0'; ++n) ;
if (n > b.capacity ())
b.capacity (n);