File: 32bit-fix.diff

package info (click to toggle)
pygccjit 0.4-8
  • links: PTS
  • area: main
  • in suites: buster
  • size: 396 kB
  • sloc: python: 551; makefile: 150
file content (14 lines) | stat: -rw-r--r-- 680 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/gccjit/gccjit.pyx b/gccjit/gccjit.pyx
index 4e805de..7371a28 100644
--- a/gccjit/gccjit.pyx
+++ b/gccjit/gccjit.pyx
@@ -291,7 +291,7 @@ cdef class Context:
                                                              value)
         return RValue_from_c(self._c_ctxt, c_rvalue)
 
-    def new_rvalue_from_ptr(self, Type pointer_type, long value):
+    def new_rvalue_from_ptr(self, Type pointer_type, long long value):
         c_rvalue = c_api.gcc_jit_context_new_rvalue_from_ptr(self._c_ctxt,
                                                              pointer_type._get_c_type(),
                                                              <void *>value)
```