projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a9e0c7
)
Win32 FAT installer: fix type typo (which happened to cancel itself out...)
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 25 Jan 2007 05:43:58 +0000
(21:43 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 25 Jan 2007 05:43:58 +0000
(21:43 -0800)
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...
win32/syslinux.c
patch
|
blob
|
history
diff --git
a/win32/syslinux.c
b/win32/syslinux.c
index
f5d6eae
..
613b1fc
100644
(file)
--- 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)