This patch replaces "PUCHAR" with "unsigned char *" in nvm.h. Signed-off-by: Kevin McKinney <klmckinney1@xxxxxxxxx> --- drivers/staging/bcm/nvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/bcm/nvm.h b/drivers/staging/bcm/nvm.h index bcfbb1b..c375a08 100644 --- a/drivers/staging/bcm/nvm.h +++ b/drivers/staging/bcm/nvm.h @@ -271,6 +271,6 @@ typedef struct _ISO_HEADER { #define SIGNATURE_SIZE 4 #define DEFAULT_BUFF_SIZE 0x10000 -#define FIELD_OFFSET_IN_HEADER(HeaderPointer, Field) ((PUCHAR)&((HeaderPointer)(NULL))->Field - (PUCHAR)(NULL)) +#define FIELD_OFFSET_IN_HEADER(HeaderPointer, Field) ((unsigned char *)&((HeaderPointer)(NULL))->Field - (unsigned char *)(NULL)) #endif -- 1.7.9.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel