patch-2.4.19 linux-2.4.19/drivers/sound/emu10k1/recmgr.c

Next file: linux-2.4.19/drivers/sound/emu10k1/voicemgr.c
Previous file: linux-2.4.19/drivers/sound/emu10k1/mixer.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/sound/emu10k1/recmgr.c linux-2.4.19/drivers/sound/emu10k1/recmgr.c
@@ -130,9 +130,9 @@
 		break;
 	}
 
-	DPD(2, "bus addx: %#lx\n", (unsigned long) buffer->dma_handle);
+	DPD(2, "bus addx: %#x\n", (u32) buffer->dma_handle);
 
-	sblive_writeptr(card, buffer->addrreg, 0, buffer->dma_handle);
+	sblive_writeptr(card, buffer->addrreg, 0, (u32) buffer->dma_handle);
 
 	return;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)