This commit is contained in:
StekiKun 2025-08-22 22:15:06 +08:00 committed by GitHub
commit f6a1c769a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,7 +93,7 @@ static void write_propval_string(FILE *f, const char *s, size_t len)
if (isprint((unsigned char)c))
fprintf(f, "%c", c);
else
fprintf(f, "\\x%02"PRIx8, c);
fprintf(f, "\\x%02"PRIx8, (unsigned char)c);
}
}
fprintf(f, "\"");