From 8d4b8360d63bd0fab148cebdb1cb234abb5d2c8f Mon Sep 17 00:00:00 2001 From: Fillipi Nascimento Date: Mon, 17 Aug 2020 17:51:50 -0300 Subject: [PATCH] fix: updating code in class DmtxTime to solver problem reading matrix code on raspberry --- pylibdmtx/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylibdmtx/wrapper.py b/pylibdmtx/wrapper.py index 47edc30..9fed19f 100644 --- a/pylibdmtx/wrapper.py +++ b/pylibdmtx/wrapper.py @@ -242,7 +242,7 @@ class DmtxImage(Structure): class DmtxTime(Structure): _fields_ = [ - ('sec', c_ulonglong), # Actually a time_t + ('sec', c_ulong), # Actually a time_t ('usec', c_ulong), ]