Commit b6e8e5f0 authored by kbr@google.com's avatar kbr@google.com
Browse files

2011-01-18 Kenneth Russell <kbr@google.com>

        Unreviewed, release build fix. Explicitly cast away const.

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


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 54741f66
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.
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment