2012-11-11 15:32:12

by Malcolm Priestley

[permalink] [raw]
Subject: [PATCH 05/14] staging: vt6656: 64 bit fixes: use u32 for QWORD definition.

Size of long issues replace with u32.

Signed-off-by: Malcolm Priestley <[email protected]>
---
drivers/staging/vt6656/ttype.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/vt6656/ttype.h b/drivers/staging/vt6656/ttype.h
index 8e9450e..0f70562c 100644
--- a/drivers/staging/vt6656/ttype.h
+++ b/drivers/staging/vt6656/ttype.h
@@ -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;
--
1.8.0