mirror of
https://github.com/strongswan/strongswan.git
synced 2025-12-15 00:00:26 -05:00
and a fix for it
This commit is contained in:
parent
68356ab12c
commit
d5a9e6ff3a
@ -7,7 +7,7 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i, end = 0;
|
||||
char byte;
|
||||
unsigned char byte;
|
||||
|
||||
printf("char %s[] = {\n", argc > 1 ? argv[1] : "data");
|
||||
while (1)
|
||||
@ -20,7 +20,7 @@ int main(int argc, char *argv[])
|
||||
end = 1;
|
||||
break;
|
||||
}
|
||||
printf("0x%02x,", byte);
|
||||
printf("0x%02x,", (unsigned int)byte);
|
||||
}
|
||||
printf("\n");
|
||||
if (end)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user