summaryrefslogtreecommitdiff
path: root/bindings/alpm.i
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/alpm.i')
-rw-r--r--bindings/alpm.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/alpm.i b/bindings/alpm.i
index dc4d680e..49541b91 100644
--- a/bindings/alpm.i
+++ b/bindings/alpm.i
@@ -10,7 +10,7 @@
/* Create casting functions */
-%pointer_cast(char *, long *, void_to_long);
+%pointer_cast(void *, long *, void_to_long);
%pointer_cast(void *, char *, void_to_char);
%pointer_cast(void *, unsigned long, void_to_unsigned_long);
%pointer_cast(void *, PM_LIST *, void_to_PM_LIST);