i2c: i2c-pnx: Made buf type unsigned to prevent sign extension

Made buf type unsigned to prevent sign extension

Signed-off-by: Kevin Wells <kevin.wells@nxp.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
Kevin Wells 2009-11-12 00:23:00 +01:00 committed by Ben Dooks
parent b2f125bcf5
commit 4ced24c897
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ struct i2c_pnx_mif {
int mode; /* Interface mode */
struct completion complete; /* I/O completion */
struct timer_list timer; /* Timeout */
char * buf; /* Data buffer */
u8 * buf; /* Data buffer */
int len; /* Length of data buffer */
};