From b6e8e5f0899c28f736b64139626d02576b2e72ec Mon Sep 17 00:00:00 2001 From: "kbr@google.com" Date: Wed, 19 Jan 2011 03:23:41 +0000 Subject: [PATCH] 2011-01-18 Kenneth Russell 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 --- Source/ThirdParty/ANGLE/ChangeLog | 7 +++++++ .../ThirdParty/ANGLE/src/compiler/preprocessor/scanner.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Source/ThirdParty/ANGLE/ChangeLog b/Source/ThirdParty/ANGLE/ChangeLog index e7d8e72eef8c..ce20d198b28b 100644 --- a/Source/ThirdParty/ANGLE/ChangeLog +++ b/Source/ThirdParty/ANGLE/ChangeLog @@ -1,3 +1,10 @@ +2011-01-18 Kenneth Russell + + Unreviewed, release build fix. Explicitly cast away const. + + * src/compiler/preprocessor/scanner.c: + (ScanFromString): + 2011-01-18 Ben Vanik Reviewed by Kenneth Russell. diff --git a/Source/ThirdParty/ANGLE/src/compiler/preprocessor/scanner.c b/Source/ThirdParty/ANGLE/src/compiler/preprocessor/scanner.c index f4bfef93579a..7b399a0dc571 100644 --- a/Source/ThirdParty/ANGLE/src/compiler/preprocessor/scanner.c +++ b/Source/ThirdParty/ANGLE/src/compiler/preprocessor/scanner.c @@ -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; -- 2.36.0