We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4206e2 commit 45d7b9bCopy full SHA for 45d7b9b
src/ansi-c/string_constant.cpp
@@ -148,8 +148,8 @@ bool string_constantt::from_array_expr(const array_exprt &src)
148
{
149
mp_integer int_value=0;
150
if(to_integer(*it, int_value)) return true;
151
- unsigned long unsigned_long_value=integer2ulong(int_value);
152
- value+=(char)unsigned_long_value;
+ unsigned unsigned_value=integer2unsigned(int_value);
+ value+=(char)unsigned_value;
153
}
154
155
// Drop the implicit zero at the end.
0 commit comments