summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-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>;