Soft'N'Design Software
/
projects
/
pacman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
496d4de
)
fix warning on getch
author
Laurent Mazet
<mazet@softndesign.org>
Tue, 22 Oct 2024 08:12:00 +0000
(10:12 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Tue, 22 Oct 2024 08:12:00 +0000
(10:12 +0200)
time.c
patch
|
blob
|
blame
|
history
diff --git
a/time.c
b/time.c
index 7c0d9d1b07c51accf0d69cc33ac00fbe0c91b5be..343dcd263fcb1517668ba248fd8d6ce58e932b24 100644
(file)
--- a/
time.c
+++ b/
time.c
@@
-45,7
+45,7
@@
void msleep (int msec)
void waitforkey (char key)
{
-
char
c;
+
int
c;
while ((c = getch ()) == ERR) {
if ((key) && (c == key)) {
break;