2011-01-18 Kenneth Russell <kbr@google.com>
authorkbr@google.com <kbr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jan 2011 03:23:41 +0000 (03:23 +0000)
committerkbr@google.com <kbr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Jan 2011 03:23:41 +0000 (03:23 +0000)
        Unreviewed, release build fix. Explicitly cast away const.

        * src/compiler/preprocessor/scanner.c:
        (ScanFromString):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@76093 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/ThirdParty/ANGLE/ChangeLog
Source/ThirdParty/ANGLE/src/compiler/preprocessor/scanner.c

index e7d8e72eef8ce00316c720197195be4eed013d9c..ce20d198b28b6b116d89b9b87f119708d004bb9a 100644 (file)
@@ -1,3 +1,10 @@
+2011-01-18  Kenneth Russell  <kbr@google.com>
+
+        Unreviewed, release build fix. Explicitly cast away const.
+
+        * src/compiler/preprocessor/scanner.c:
+        (ScanFromString):
+
 2011-01-18  Ben Vanik  <ben.vanik@gmail.com>
 
         Reviewed by Kenneth Russell.
index f4bfef93579aa877d65574f32348647a9415f142..7b399a0dc571bbe8badfba477d84518879d22cfe 100644 (file)
@@ -176,7 +176,7 @@ int ScanFromString(const char *s)
     
     StringInputSrc *in = malloc(sizeof(StringInputSrc));
     memset(in, 0, sizeof(StringInputSrc));
-    in->p = s;
+    in->p = (char*) s;
     in->base.line = 1;
     in->base.scan = byte_scan;
     in->base.getch = (int (*)(InputSrc *, yystypepp *))str_getch;