aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2025-08-12 23:16:43 +0200
committerThorsten Töpper <atsutane@freethoughts.de>2025-08-12 23:16:43 +0200
commit84f5ff3cf53e150fccdb1b0074362c66d0ae41bb (patch)
tree4917cb8d5bcebcd59ee66100a7f88ee94b165d0c /include
parent4904d77cca14c36090cf7a3eb4638fbdeaf28959 (diff)
downloadsmall-utils-84f5ff3cf53e150fccdb1b0074362c66d0ae41bb.tar.gz
small-utils-84f5ff3cf53e150fccdb1b0074362c66d0ae41bb.tar.bz2
tree_based_check: filter utility for hash lists
Diffstat (limited to 'include')
-rw-r--r--include/hex_conversion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hex_conversion.h b/include/hex_conversion.h
index b31216d..4b97d6d 100644
--- a/include/hex_conversion.h
+++ b/include/hex_conversion.h
@@ -26,7 +26,7 @@ inline int convert_line(char *s) {
return -1;
l=strlen(s);
for (i=0; i<l; i++) {
- s[i] = toupper(s[i]);
+ s[i] = (char)toupper(s[i]);
if ((s[i] == '\r' && (l-i<3)) || (s[i] == '\n' && i==l-1)) {
s[i] = '\0';
break;