summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Scanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/Scanner.cpp')
-rw-r--r--cpp/src/Slice/Scanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Scanner.cpp b/cpp/src/Slice/Scanner.cpp
index 2c043293cf1..2e2ab307d64 100644
--- a/cpp/src/Slice/Scanner.cpp
+++ b/cpp/src/Slice/Scanner.cpp
@@ -1249,7 +1249,7 @@ YY_RULE_SETUP
case 'U':
{
string escape = "";
- char c = next;
+ c = next;
int size = (c == 'u') ? 4 : 8;
while(size > 0)
{