summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-aa
blob: b3dfa94edb857fd6f946ef0448a3a687a095064f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.4 2002/10/31 22:19:50 jlam Exp $

--- src/joystick/bsd/SDL_sysjoystick.c.orig	Sat Oct  5 07:32:49 2002
+++ src/joystick/bsd/SDL_sysjoystick.c	Sun Oct 13 20:34:42 2002
@@ -400,9 +400,9 @@
 	int len;
 
 #ifdef USBHID_NEW
-	len = hid_report_size(rd, repinfo[repind].kind, &r->rid);
-#else
 	len = hid_report_size(rd, repinfo[repind].kind, r->rid);
+#else
+	len = hid_report_size(rd, repinfo[repind].kind, &r->rid);
 #endif
 	if (len < 0) {
 		SDL_SetError("Negative HID report size");