$OpenBSD: patch-cdrecord_fifo_c,v 1.1.1.1 2002/05/13 14:08:50 naddy Exp $
--- cdrecord/fifo.c.orig	Sun Sep 23 10:55:33 2001
+++ cdrecord/fifo.c	Sun Sep 23 10:56:21 2001
@@ -86,7 +86,7 @@ FILE	*ef;
 #define	USDEBUG2
 #endif
 
-#define palign(x, a)	(((char *)(x)) + ((a) - 1 - (((unsigned)((x)-1))%(a))))
+#define palign(x, a)	(((char *)(x)) + ((a) - 1 - (((unsigned long)((x)-1))%(a))))
 
 typedef enum faio_owner {
 	owner_none,		/* Unused in real life			     */
