aw-overlay/games-emulation/desmume/files/desmume-0.9.11-fix-pointer-conversion-warning.diff

12 lines
370 B
Diff
Raw Normal View History

2018-03-02 13:17:12 -05:00
--- a/src/path.h 2015-02-14 16:05:26.000000000 +0100
+++ b/src/path.h 2016-07-11 12:09:59.591987169 +0200
@@ -375,7 +375,7 @@
else if (strchr(strftimeArgs, *p))
{
char tmp[MAX_PATH];
- char format[] = { '%', *p, NULL };
+ char format[] = { '%', *p, '\0' };
strftime(tmp, MAX_PATH, format, time_struct);
file.append(tmp);
}