summary refs log tree commit diff stats
path: root/chardev/char-win-stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'chardev/char-win-stdio.c')
-rw-r--r--chardev/char-win-stdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chardev/char-win-stdio.c b/chardev/char-win-stdio.c
index 980e0d1356..a4771ab82e 100644
--- a/chardev/char-win-stdio.c
+++ b/chardev/char-win-stdio.c
@@ -40,8 +40,8 @@ struct WinStdioChardev {
 };
 typedef struct WinStdioChardev WinStdioChardev;
 
-#define WIN_STDIO_CHARDEV(obj)                                          \
-    OBJECT_CHECK(WinStdioChardev, (obj), TYPE_CHARDEV_WIN_STDIO)
+DECLARE_INSTANCE_CHECKER(WinStdioChardev, WIN_STDIO_CHARDEV,
+                         TYPE_CHARDEV_WIN_STDIO)
 
 static void win_stdio_wait_func(void *opaque)
 {