mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
76c0a9b8b7
commit
d4695a6d90
@ -125,7 +125,7 @@ def convert_registry_data(raw, size, dtype):
|
||||
if dtype == win32con.REG_QWORD:
|
||||
if size == 0:
|
||||
return 0
|
||||
return ctypes.cast(raw, ctypes.POINTER(types.QWORD)).contents.value
|
||||
return ctypes.cast(raw, ctypes.POINTER(ctypes.c_uint64)).contents.value
|
||||
raise ValueError('Unsupported data type: %r' % dtype)
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user