Made buf type unsigned to prevent sign extension

Signed-off-by: Kevin Wells <[email protected]>
---
i2c-pnx.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- include/linux/i2c-pnx.h.orig        2009-11-11 14:47:28.000000000 -0800
+++ include/linux/i2c-pnx.h     2009-11-10 14:16:55.000000000 -0800
@@ -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 */
 };

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to