0a52485
From 12ffaa89e589a47d0b29b32997cb3623d231d920 Mon Sep 17 00:00:00 2001
0a52485
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
0a52485
Date: Thu, 1 Feb 2024 15:14:00 -0500
0a52485
Subject: [PATCH] Fix AlphaMap definition in cdatrie.pxd
0a52485
0a52485
Fixes failure to compile on GCC with `-Werror=incompatible-pointer-types`.
0a52485
---
0a52485
 src/cdatrie.pxd | 2 +-
0a52485
 1 file changed, 1 insertion(+), 1 deletion(-)
0a52485
0a52485
diff --git a/src/cdatrie.pxd b/src/cdatrie.pxd
0a52485
index b80ce99..e609d1c 100644
0a52485
--- a/src/cdatrie.pxd
0a52485
+++ b/src/cdatrie.pxd
0a52485
@@ -9,7 +9,7 @@ cdef extern from "../libdatrie/datrie/triedefs.h":
0a52485
 
0a52485
 cdef extern from "../libdatrie/datrie/alpha-map.h":
0a52485
 
0a52485
-    struct AlphaMap:
0a52485
+    ctypedef struct AlphaMap:
0a52485
         pass
0a52485
 
0a52485
     AlphaMap * alpha_map_new()