From 0d2fe24cd7f12a0de9f106ea438547b7c8a2135d Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Thu, 1 Mar 2018 14:20:25 +0000 Subject: [PATCH] token: Explicitly support char as either signed or unsigned char Resolves bug-report https://bugs.openfoam.org/view.php?id=2863 --- src/OpenFOAM/db/IOstreams/token/token.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenFOAM/db/IOstreams/token/token.H b/src/OpenFOAM/db/IOstreams/token/token.H index adedf2ccb..98fc51f41 100644 --- a/src/OpenFOAM/db/IOstreams/token/token.H +++ b/src/OpenFOAM/db/IOstreams/token/token.H @@ -77,7 +77,7 @@ public: { UNDEFINED = 0, - PUNCTUATION = -127, + PUNCTUATION = char(128), WORD, VARIABLE, STRING,