X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/f368b46e168e8accdb0c578ccbba7e7d2ee8c0de..426e898f1d1fb7514eef632174f0fe42f0eff9b3:/buffer.c diff --git a/buffer.c b/buffer.c index 7456a3d..7220d84 100644 --- 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); \ }