]> granicus.if.org Git - libass/commitdiff
Fix a warning due to added constness
authorGrigori Goronzy <greg@blackbox>
Tue, 12 Jan 2010 13:06:03 +0000 (14:06 +0100)
committerGrigori Goronzy <greg@blackbox>
Tue, 12 Jan 2010 13:06:03 +0000 (14:06 +0100)
libass/ass_strtod.c

index 876503e457df02503a35204d42ee00de44bc342d..f55b37ae123d652357e7a17c12a91ab6b19b6c82 100644 (file)
@@ -226,7 +226,7 @@ ass_strtod(string, endPtr)
         errno = ERANGE;
     }
     dblExp = 1.0;
-    for (d = powersOf10; exp != 0; exp >>= 1, d += 1) {
+    for (d = (double *) powersOf10; exp != 0; exp >>= 1, d += 1) {
         if (exp & 01) {
             dblExp *= *d;
         }