Merge pull request #373 from KLayout/issue-372

Fixed #372 (build issue with 64 bit coordinates)
This commit is contained in:
Matthias Köfferlein 2019-10-11 23:10:42 +02:00 committed by GitHub
commit 171bcd4401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ struct test_type_func<__int128>
{ {
bool operator() (PyObject *rval, bool loose) bool operator() (PyObject *rval, bool loose)
{ {
return test_type<int> (rval, loose); return test_type_func<int> () (rval, loose);
} }
}; };
#endif #endif
@ -582,7 +582,7 @@ struct c2python_func<unsigned long long>
#if defined(HAVE_64BIT_COORD) #if defined(HAVE_64BIT_COORD)
template <> template <>
struct c2python_func<const __int128 &> struct c2python_func<__int128>
{ {
PyObject *operator() (const __int128 &c) PyObject *operator() (const __int128 &c)
{ {