chiark / gitweb /
Remove the various `getuNN' functions and replace them with getulong().
[catacomb-python] / buffer.c
index 7456a3dad85c6404c234435ba82add4396840daa..7220d8401264da718ad93b379229bb2ff3aa964f 100644 (file)
--- a/buffer.c
+++ b/buffer.c
@@ -114,7 +114,7 @@ end:
     uint##n x;                                                         \
     if (!PyArg_ParseTuple(arg, ":getu" #w)) goto end;                  \
     if (buf_getu##w(BUF_B(me), &x)) BUFERR();                          \
-    return (getu32(x));                                                        \
+    return (getulong(x));                                              \
   end:                                                                 \
     return (0);                                                                \
   }