diff --git a/demo/readdir_ctypesdef2.py b/demo/readdir_ctypesdef2.py
index e9011d41d639b1519ae6cfb00e59f1dbcc77fab7_ZGVtby9yZWFkZGlyX2N0eXBlc2RlZjIucHk=..c750b199a0f07f19a814a62461660ed150fd65c8_ZGVtby9yZWFkZGlyX2N0eXBlc2RlZjIucHk= 100644
--- a/demo/readdir_ctypesdef2.py
+++ b/demo/readdir_ctypesdef2.py
@@ -11,10 +11,10 @@
     raise Exception("Linux-only demo")
 
 
-DIR = ctypes.OPAQUE          # <--
+DIR = ctypes.OPAQUE()          # <--
 DIR_p = ctypes.POINTER(DIR)
 
 class DIRENT(ctypes.PartialStructure):    # <--
     _fields_ = [
         ('d_type', ctypes.c_ubyte),       # type of file; not supported
                                           #   by all file system types
@@ -15,10 +15,10 @@
 DIR_p = ctypes.POINTER(DIR)
 
 class DIRENT(ctypes.PartialStructure):    # <--
     _fields_ = [
         ('d_type', ctypes.c_ubyte),       # type of file; not supported
                                           #   by all file system types
-        ('d_name', ctypes.c_char * Ellipsis),  # filename
+        ('d_name', ctypes.c_char * Ellipsis),  # <--
         ]
 DIRENT_p = ctypes.POINTER(DIRENT)
 DIRENT_pp = ctypes.POINTER(DIRENT_p)