Changeset: 71a9a0612f8c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=71a9a0612f8c
Modified Files:
        sql/backends/monet5/UDF/pyapi/pytypes.c
Branch: Dec2016
Log Message:

long != lng.


diffs (13 lines):

diff --git a/sql/backends/monet5/UDF/pyapi/pytypes.c 
b/sql/backends/monet5/UDF/pyapi/pytypes.c
--- a/sql/backends/monet5/UDF/pyapi/pytypes.c
+++ b/sql/backends/monet5/UDF/pyapi/pytypes.c
@@ -106,6 +106,9 @@ int PyType_ToBat(int type)
         case NPY_SHORT: return TYPE_sht;
         case NPY_INT: return TYPE_int;
         case NPY_LONG:
+#if SIZEOF_LONG == 4
+               return TYPE_int;
+#endif
         case NPY_LONGLONG: return TYPE_lng;
         case NPY_UBYTE:
         case NPY_USHORT:
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to