mirror of
https://github.com/qpdf/qpdf.git
synced 2024-06-08 13:20:53 +00:00
77111086eb
Make sure that our attempt to test both signed and unsigned char is actually right.
12 lines
180 B
C++
12 lines
180 B
C++
#include <cstdio>
|
|
int main()
|
|
{
|
|
char ch = '\xf7';
|
|
if (ch < 0) {
|
|
printf("char is signed\n");
|
|
} else {
|
|
printf("char is unsigned\n");
|
|
}
|
|
return 0;
|
|
}
|