shithub: cstory

Download patch

ref: 5933a1201e25ab2eff8e32a1a241b8429f8ebce9
parent: 50897e8ceb41f2183c74a30d647256ed6de34d8e
author: Clownacy <Clownacy@users.noreply.github.com>
date: Fri May 24 05:34:55 EDT 2019

Shut up a warning GCC was giving bin2h

--- a/bin2h/bin2h.c
+++ b/bin2h/bin2h.c
@@ -29,7 +29,7 @@
 
 		filename_pointer = (last_path_seperator == NULL) ? argv[1] : last_path_seperator + 1;
 		dot = strchr(filename_pointer, '.');
-		filename_length = (dot == NULL) ? strlen(filename_pointer) : dot - filename_pointer;
+		filename_length = (dot == NULL) ? strlen(filename_pointer) : (size_t)(dot - filename_pointer);
 
 		filename = malloc(filename_length + 1);
 		memcpy(filename, filename_pointer, filename_length);