Skip to content

Commit

Permalink
staging: vt6656: 64 bit fixes: use u32 for QWORD definition.
Browse files Browse the repository at this point in the history
Size of long issues replace with u32.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Malcolm Priestley authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent cf5d170 commit a552397
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/staging/vt6656/ttype.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
#ifndef __TTYPE_H__
#define __TTYPE_H__

#include <linux/types.h>

/******* Common definitions and typedefs ***********************************/

typedef int BOOL;
Expand All @@ -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;
Expand Down

0 comments on commit a552397

Please sign in to comment.