Fix buf (recently introduced) in isoprefix conversion
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Fri, 22 Sep 2017 13:45:28 +0000 (15:45 +0200)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Fri, 22 Sep 2017 13:45:28 +0000 (15:45 +0200)
src-api/common/isonumber.c

index 912ba1b..6f196fb 100644 (file)
@@ -225,7 +225,7 @@ isonumber_to_u64(uint64_t *dst, const char *iso, int fraction, bool binary) {
       return -1;
     }
 
-    while (prefix > next) {
+    while (prefix > symbol_large) {
       factor *= multiplicator;
       prefix--;
     }