diff options
Diffstat (limited to 'veslibrary/ves_clibrary/evel/evel-library/code/evel_library/evel_other.c')
-rw-r--r-- | veslibrary/ves_clibrary/evel/evel-library/code/evel_library/evel_other.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/veslibrary/ves_clibrary/evel/evel-library/code/evel_library/evel_other.c b/veslibrary/ves_clibrary/evel/evel-library/code/evel_library/evel_other.c index 61809f0..4dd635e 100644 --- a/veslibrary/ves_clibrary/evel/evel-library/code/evel_library/evel_other.c +++ b/veslibrary/ves_clibrary/evel/evel-library/code/evel_library/evel_other.c @@ -282,8 +282,8 @@ void evel_json_encode_other(EVEL_JSON_BUFFER * jbuf, evel_json_checkpoint(jbuf); if (evel_json_open_opt_named_object(jbuf, "hashMap")) { - - for(unsigned int idx = 0; idx < ht->size; idx++ ) + unsigned int idx = 0; + for(; idx < ht->size; idx++ ) { /*****************************************************************/ /* Get the first entry of a particular Key and loop through the */ @@ -426,7 +426,8 @@ void evel_json_encode_other(EVEL_JSON_BUFFER * jbuf, evel_enc_kv_string(jbuf, "name", ht->hmName); if (evel_json_open_opt_named_object(jbuf, "hashMap")) { - for(unsigned int idx = 0; idx < ht->size; idx++ ) + unsigned int idx = 0; + for(; idx < ht->size; idx++ ) { /*****************************************************************/ /* Get the first entry of a particular Key and loop through the */ |