summaryrefslogtreecommitdiff
path: root/com32/menu/menumain.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-03-03 20:18:10 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-03-03 20:18:10 -0800
commit03abbde81db7484ccdb4e1808881e1df20df2fb0 (patch)
tree6d9722ba6c8373122bb86c7562ac8cd5c6ed1598 /com32/menu/menumain.c
parent763bb1f82a4519bdf240fd5d43f7e776c0d5206f (diff)
downloadsyslinux-03abbde81db7484ccdb4e1808881e1df20df2fb0.tar.gz
Prevent inclusion of system include files when inappropriate
Use "-nostdinc -iwithprefix include" to prevent the inclusion of system header files, but still permitting *compiler* header files.
Diffstat (limited to 'com32/menu/menumain.c')
-rw-r--r--com32/menu/menumain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/menu/menumain.c b/com32/menu/menumain.c
index ac1f9439..f79d00e4 100644
--- a/com32/menu/menumain.c
+++ b/com32/menu/menumain.c
@@ -803,7 +803,7 @@ run_menu(void)
to_clear = 0;
}
- this_timeout = min(min(key_timeout, timeout_left), CLK_TCK);
+ this_timeout = min(min(key_timeout, timeout_left), (clock_t)CLK_TCK);
key = mygetkey(this_timeout);
if ( key != KEY_NONE ) {