diff options
-rw-r--r-- | odb/pgsql/traits.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/traits.cxx b/odb/pgsql/traits.cxx index 79188d1..8ce2378 100644 --- a/odb/pgsql/traits.cxx +++ b/odb/pgsql/traits.cxx @@ -86,7 +86,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); |