Mercurial > sdl-ios-xcode
changeset 426:33712e5d1ec8
Fix for USB HID API. Fixes build on NetBSD and FreeBSD, but maybe causes
trouble on OpenBSD?
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 26 Jul 2002 17:13:17 +0000 |
parents | edbbe5775244 |
children | 027ae30b867f |
files | src/joystick/bsd/SDL_sysjoystick.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/joystick/bsd/SDL_sysjoystick.c Mon Jul 22 09:49:52 2002 +0000 +++ b/src/joystick/bsd/SDL_sysjoystick.c Fri Jul 26 17:13:17 2002 +0000 @@ -409,9 +409,9 @@ int len; #ifdef USBHID_NEW - len = hid_report_size(rd, repinfo[repind].kind, r->rid); + len = hid_report_size(rd, repinfo[repind].kind, &r->rid); #else - len = hid_report_size(rd, repinfo[repind].kind, &r->rid); + len = hid_report_size(rd, repinfo[repind].kind, r->rid); #endif if (len < 0) { SDL_SetError("Negative HID report size");