diff options
Diffstat (limited to 'jim-format.c')
-rw-r--r-- | jim-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jim-format.c b/jim-format.c index e9b1d5c..f5f0f92 100644 --- a/jim-format.c +++ b/jim-format.c @@ -331,7 +331,7 @@ Jim_Obj *Jim_FormatString(Jim_Interp *interp, Jim_Obj *fmtObjPtr, int objc, Jim_ j = 0; for (i = length; i > 0; ) { i--; - if (w & ((unsigned jim_wide)1 << i)) { + if (w & ((unsigned jim_wide)1 << i)) { num_buffer[j++] = '1'; } else if (j || i == 0) { |