]> xenbits.xensource.com Git - xenclient/ioemu.git/commitdiff
Fix non debug mode for keyboard pass through.
authorJean Guyader <jean.guyader@eu.citrix.com>
Wed, 3 Dec 2008 17:19:58 +0000 (17:19 +0000)
committerJean Guyader <jean.guyader@eu.citrix.com>
Wed, 3 Dec 2008 17:19:58 +0000 (17:19 +0000)
hw/pt_pckbd.c

index 2b3be315a5f3f75f84288dd914d83c05c1057b6a..8079372358c27b7faefab451d2de911a3248c44a 100644 (file)
@@ -42,7 +42,7 @@
 #ifdef DEBUG_KBD
 # define DPRINTF(_f, _a...) fprintf(stderr, __FILE__ ":%d: " _f, __LINE__, ##_a)
 #else
-# define DPRINTF(_f, _a...) (void(0))
+# define DPRINTF(_f, _a...) ((void)(0))
 #endif
 
 /*     Keyboard Controller Commands */