We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 988918c commit 5784aecCopy full SHA for 5784aec
1 file changed
lib/settings.cpp
@@ -175,8 +175,8 @@ bool Settings::platform(PlatformType type)
175
sizeof_size_t = sizeof(std::size_t);
176
sizeof_pointer = sizeof(void *);
177
{
178
- int x = 2;
179
- defaultSign = (-10 / x == -5) ? 's' : 'u';
+ char x = -1;
+ defaultSign = (x < 0) ? 's' : 'u';
180
}
181
char_bit = 8;
182
short_bit = char_bit * sizeof_short;
0 commit comments