commit - 74d012d126797df0ab6a3cc0000568c3be981532
commit + 10796104a13b638c830d88214960214bcd8cca3a
blob - 881055b911cb55414294ca77ad1a371f8bc58946
blob + 0261d5da76ebaa9841f1f8ccab91ff0f166ad3e9
--- got/got.c
+++ got/got.c
}
logmsg = logmsg0;
- while (isspace(logmsg[0]))
+ while (isspace((unsigned char)logmsg[0]))
logmsg++;
old_id_str[12] = '\0';
blob - eb005648100624e8990051b07d65b639550130f0
blob + feb2dcacbe2d9ef61576ea6b746e5588d5a1d92a
--- lib/object_create.c
+++ lib/object_create.c
return got_error_from_errno("strdup");
msg = msg0;
- while (isspace(msg[0]))
+ while (isspace((unsigned char)msg[0]))
msg++;
len = strlen(msg);
- while (len > 0 && isspace(msg[len - 1])) {
+ while (len > 0 && isspace((unsigned char)msg[len - 1])) {
msg[len - 1] = '\0';
len--;
}