summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/ldb/ldb_sqlite3/base160.c2
-rw-r--r--source4/lib/ldb/ldb_sqlite3/base160.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/ldb/ldb_sqlite3/base160.c b/source3/lib/ldb/ldb_sqlite3/base160.c
index 423e2b6841..7ad39f7c2f 100644
--- a/source3/lib/ldb/ldb_sqlite3/base160.c
+++ b/source3/lib/ldb/ldb_sqlite3/base160.c
@@ -122,7 +122,7 @@ lsqlite3_base160Next(char base160[])
* We need a minimum of four digits, and we will always get a multiple of
* four digits.
*/
- if (len = strlen(pBase160)) >= 4)
+ if ((len = strlen(pBase160)) >= 4)
{
pBase160 += strlen(pBase160) - 1;
diff --git a/source4/lib/ldb/ldb_sqlite3/base160.c b/source4/lib/ldb/ldb_sqlite3/base160.c
index 423e2b6841..7ad39f7c2f 100644
--- a/source4/lib/ldb/ldb_sqlite3/base160.c
+++ b/source4/lib/ldb/ldb_sqlite3/base160.c
@@ -122,7 +122,7 @@ lsqlite3_base160Next(char base160[])
* We need a minimum of four digits, and we will always get a multiple of
* four digits.
*/
- if (len = strlen(pBase160)) >= 4)
+ if ((len = strlen(pBase160)) >= 4)
{
pBase160 += strlen(pBase160) - 1;