summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-01-24 21:43:58 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-01-24 21:43:58 -0800
commit1ab929ad128a4c34af8007701cc85ca6b49dd7a1 (patch)
tree01d9471ac6a0297ff3974db92d6c39916e3a5412 /win32
parent8a9e0c7b9bcc70fdf7a737defcb04b1662523962 (diff)
downloadsyslinux-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...
Diffstat (limited to 'win32')
-rw-r--r--win32/syslinux.c2
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)