Skip to content

Commit 5f59ec7

Browse files
committedJan 28, 2025
expand: fix sign-conversion warning
1 parent ad11405 commit 5f59ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎expand.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ char *expand_variables(const char *str, const char *user) {
5454
buf_write(&head, &size, value, strlen(value)) != 0) {
5555
goto fail;
5656
}
57-
} else if (buf_write_byte(&head, &size, *str) != 0) {
57+
} else if (buf_write_byte(&head, &size, (uint8_t) *str) != 0) {
5858
goto fail;
5959
}
6060
}

0 commit comments

Comments
 (0)