On ppc64, the return value of sizeof() is long. scsi/aic7xxx/aic7xxx_core.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -puN drivers/scsi/aic7xxx/aic7xxx_core.c~adaptec-debug-fix drivers/scsi/aic7xxx/aic7xxx_core.c --- 25-power4/drivers/scsi/aic7xxx/aic7xxx_core.c~adaptec-debug-fix 2003-02-10 23:22:55.000000000 -0800 +++ 25-power4-akpm/drivers/scsi/aic7xxx/aic7xxx_core.c 2003-02-10 23:22:55.000000000 -0800 @@ -4711,9 +4711,9 @@ ahc_init(struct ahc_softc *ahc) printf("%s: hardware scb %d bytes; kernel scb %d bytes; " "ahc_dma %d bytes\n", ahc_name(ahc), - sizeof(struct hardware_scb), - sizeof(struct scb), - sizeof(struct ahc_dma_seg)); + (int)sizeof(struct hardware_scb), + (int)sizeof(struct scb), + (int)sizeof(struct ahc_dma_seg)); } #endif /* AHC_DEBUG */ _