diff --git a/modules/src/idf/idf_pkg.body b/modules/src/idf/idf_pkg.body index 8f970aef7..5d1260d75 100644 --- a/modules/src/idf/idf_pkg.body +++ b/modules/src/idf/idf_pkg.body @@ -123,7 +123,7 @@ struct idf* str2idf(char tg[], int cpy) int size; IDF_STARTHASH(hash); - while (c = *cp++) + while ((c = *cp++)) { IDF_ENHASH(hash, c); }