diff options
Diffstat (limited to 'src/modules/json/NumberToString.h')
-rw-r--r-- | src/modules/json/NumberToString.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/json/NumberToString.h b/src/modules/json/NumberToString.h index a5e93d4302..35c6c98d0a 100644 --- a/src/modules/json/NumberToString.h +++ b/src/modules/json/NumberToString.h @@ -41,7 +41,7 @@ public: //create the string do { - *runner-- = (json_char)(value % 10) + JSON_TEXT('0'); + *runner--=(json_char)(value % 10) + JSON_TEXT('0'); } while(value /= 10); //if it's negative, add the negation @@ -66,7 +66,7 @@ public: //create the string do { - *runner-- = (json_char)(value % 10) + JSON_TEXT('0'); + *runner--=(json_char)(value % 10) + JSON_TEXT('0'); } while(value /= 10); json_string res = runner + 1; |