]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
use long long for id() result
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 28 Dec 2021 15:54:18 +0000 (10:54 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 28 Dec 2021 15:54:18 +0000 (10:54 -0500)
per https://stackoverflow.com/a/27055236/34549 apparently there
is "long long" in cython.

Change-Id: I08bfaaccbf87ec9a2dc0d4b154f9c9d454171342

lib/sqlalchemy/cyextension/util.pyx

index 62ca960b33d39099e6adf6f3cfc587f5885b043b..92e91a6edc1529eb33c9ca81267faab3af7f4ca6 100644 (file)
@@ -64,7 +64,7 @@ cdef class cache_anon_map(dict):
         self._index = 0
 
     def get_anon(self, obj):
-        cdef long idself
+        cdef long long idself
         cdef str id_
         cdef dict self_dict = self