summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-23 21:20:18 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-23 21:20:18 +0200
commit30357fce78f46676e00597af8ab266d9456562db (patch)
tree430b0fa05a40fde6e9847b13ea2884971e611587
parent6c21d0476cf8ff021104eef5bedd8c9843fa14d6 (diff)
hackfix py compilation on 64 bit pc
-rw-r--r--py/pykms.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/py/pykms.i b/py/pykms.i
index 0801653..0939805 100644
--- a/py/pykms.i
+++ b/py/pykms.i
@@ -35,4 +35,6 @@ using namespace kms;
%template(CrtcVector) std::vector<kms::Crtc*>;
%template(EncoderVector) std::vector<kms::Encoder*>;
%template(PlaneVector) std::vector<kms::Plane*>;
-%template(map_u32_u64) std::map<uint32_t, uint64_t>;
+/* for some reason uint64_t doesn't compile on 64 bit pc */
+/* %template(map_u32_u64) std::map<uint32_t, uint64_t>; */
+%template(map_u32_u64) std::map<uint32_t, unsigned long long>;