diff options
Diffstat (limited to 'os/WaitFor.c')
-rw-r--r-- | os/WaitFor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c index 1633b4993..9a204c7a7 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -430,7 +430,7 @@ TimerSet(OsTimerPtr timer, int flags, CARD32 millis, if (!timer) { - timer = (OsTimerPtr)xalloc(sizeof(struct _OsTimerRec)); + timer = xalloc(sizeof(struct _OsTimerRec)); if (!timer) return NULL; } |