From: H. Peter Anvin Date: Thu, 25 Jan 2007 05:43:58 +0000 (-0800) Subject: Win32 FAT installer: fix type typo (which happened to cancel itself out...) X-Git-Tag: syslinux-3.35-pre3~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ab929ad128a4c34af8007701cc85ca6b49dd7a1;p=platform%2Fupstream%2Fsyslinux.git Win32 FAT installer: fix type typo (which happened to cancel itself out...) I had written "char *c = ..." instead of "char c = ..."; as it turned out, the resulting (invalid) type conversions all worked themselves out and it didn't matter, except for compiler warnings... --- diff --git a/win32/syslinux.c b/win32/syslinux.c index f5d6eae..613b1fc 100644 --- a/win32/syslinux.c +++ b/win32/syslinux.c @@ -463,7 +463,7 @@ int main(int argc, char *argv[]) new_ldlinux_name[2] = '\\'; for (sd = subdir; *sd; sd++) { - char *c = *sd; + char c = *sd; if (c == '/' || c == '\\') { if (slash)