aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/michael.c
diff options
context:
space:
mode:
authorAndres More <more.andres@gmail.com>2010-05-17 21:34:01 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-18 14:51:08 -0700
commitcc856e61ee4ffb150ff352e3d6940978a2f819e8 (patch)
treefc196d675186aeaf221758a37c03ef5e305649fc /drivers/staging/vt6656/michael.c
parent213d2e9322ed509c2f80b07d7feb4427ebcd7b0b (diff)
Staging: vt6656: removed custom UCHAR/USHORT/UINT/ULONG/ULONGLONG typedefs
Cleared all checkpatch warnings but 'do not add new typedefs' ones. Signed-off-by: Andres More <more.andres@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6656/michael.c')
-rw-r--r--drivers/staging/vt6656/michael.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/michael.c b/drivers/staging/vt6656/michael.c
index d45333fc242..671a8cf33e2 100644
--- a/drivers/staging/vt6656/michael.c
+++ b/drivers/staging/vt6656/michael.c
@@ -64,7 +64,7 @@ static void s_vAppendByte(BYTE b); /* Add a single byte to the internal
static DWORD L, R; /* Current state */
static DWORD K0, K1; /* Key */
static DWORD M; /* Message accumulator (single word) */
-static UINT nBytesInM; /* # bytes in M */
+static unsigned int nBytesInM; /* # bytes in M */
/*--------------------- Export Functions --------------------------*/
@@ -73,7 +73,7 @@ static DWORD s_dwGetUINT32 (BYTE * p)
// Convert from BYTE[] to DWORD in a portable way
{
DWORD res = 0;
- UINT i;
+ unsigned int i;
for(i=0; i<4; i++ )
res |= (*p++) << (8*i);
return res;
@@ -82,7 +82,7 @@ static DWORD s_dwGetUINT32 (BYTE * p)
static void s_vPutUINT32(BYTE *p, DWORD val)
// Convert from DWORD to BYTE[] in a portable way
{
- UINT i;
+ unsigned int i;
for(i=0; i<4; i++ ) {
*p++ = (BYTE) (val & 0xff);
val >>= 8;
@@ -148,7 +148,7 @@ void MIC_vUnInit(void)
s_vClear();
}
-void MIC_vAppend(PBYTE src, UINT nBytes)
+void MIC_vAppend(PBYTE src, unsigned int nBytes)
{
/* This is simple */
while (nBytes > 0) {