diff options
-rw-r--r-- | odb/sqlite/traits.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/sqlite/traits.cxx b/odb/sqlite/traits.cxx index d3542d2..dae008c 100644 --- a/odb/sqlite/traits.cxx +++ b/odb/sqlite/traits.cxx @@ -80,7 +80,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); @@ -159,7 +159,7 @@ namespace odb // Figure out the length. We cannot use wcslen since it may // not be 0-terminated (wcsnlen is not standard). // - for (n = 0; n != N && v[n] != L'\0'; ++n); + for (n = 0; n != N && v[n] != L'\0'; ++n) ; n *= 2; |