From 540527d42f1741240abf72b41a3dec56d11f8ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Wed, 8 May 2013 04:06:22 +0000 Subject: [PATCH] fixed parameter struct of XHInqTarget --- sources/xhdi_interface.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sources/xhdi_interface.c b/sources/xhdi_interface.c index a7eed40..73b119d 100644 --- a/sources/xhdi_interface.c +++ b/sources/xhdi_interface.c @@ -41,11 +41,11 @@ uint32_t xhdi_call(struct XHDICALL_args stack) { struct XHINQTARGET_args { - unsigned int opcode; - unsigned int major; - unsigned int minor; - unsigned long *blocksize; - unsigned long *deviceflags; + uint16_t opcode; + uint16_t major; + uint16_t minor; + uint16_t *blocksize; + uint32_t *deviceflags; char *productname; }*args = (struct XHINQTARGET_args *) &stack;