diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-01-24 21:43:58 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-01-24 21:43:58 -0800 |
commit | 1ab929ad128a4c34af8007701cc85ca6b49dd7a1 (patch) | |
tree | 01d9471ac6a0297ff3974db92d6c39916e3a5412 | |
parent | 8a9e0c7b9bcc70fdf7a737defcb04b1662523962 (diff) | |
download | syslinux-1ab929ad128a4c34af8007701cc85ca6b49dd7a1.tar.gz |
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...
-rw-r--r-- | win32/syslinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/syslinux.c b/win32/syslinux.c index f5d6eae6..613b1fc1 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) |