chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the various `getuNN' functions and replace them with getulong().
[catacomb-python]
/
buffer.c
diff --git
a/buffer.c
b/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 (getu
32(x));
\
+ return (getu
long(x));
\
end: \
return (0); \
}