From 1588a762ec73051ddd292c5124c54eb86cac173d Mon Sep 17 00:00:00 2001 From: infacc Date: Thu, 31 Aug 2023 17:46:45 +0200 Subject: [PATCH] fix return type of `zbar_symbol_get_orientation` --- pyzbar/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyzbar/wrapper.py b/pyzbar/wrapper.py index b9f333a..997390a 100644 --- a/pyzbar/wrapper.py +++ b/pyzbar/wrapper.py @@ -274,7 +274,7 @@ def zbar_function(fname, restype, *args): try: zbar_symbol_get_orientation = zbar_function( 'zbar_symbol_get_orientation', - c_uint, + c_int, POINTER(zbar_symbol) ) except AttributeError: