staging: vt6656: 64 bit fixes: use u32 for QWORD definition.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 11 Nov 2012 15:32:05 +0000 (15:32 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:57 +0000 (03:33 +0000)
commit a552397d5e4ef0cc0bd3e9595d6acc9a3b381171 upstream.

Size of long issues replace with u32.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/vt6656/ttype.h

index 8e9450e..0f70562 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef __TTYPE_H__
 #define __TTYPE_H__
 
+#include <linux/types.h>
+
 /******* Common definitions and typedefs ***********************************/
 
 typedef int             BOOL;
@@ -51,8 +53,8 @@ typedef unsigned long   DWORD;          // 32-bit
 // which is NOT really a floating point number.
 typedef union tagUQuadWord {
     struct {
-        DWORD   dwLowDword;
-        DWORD   dwHighDword;
+       u32 dwLowDword;
+       u32 dwHighDword;
     } u;
     double      DoNotUseThisField;
 } UQuadWord;