From 470f59fa3f11b7317fc5907cfef6043f2104bcc6 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 7 Apr 2011 15:30:17 +0000 Subject: Do not use NULL in integer comparisons. No functional change. ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@ --- sys/dev/microcode/adw/adwmcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/microcode') diff --git a/sys/dev/microcode/adw/adwmcode.c b/sys/dev/microcode/adw/adwmcode.c index 41818b8ff59..7045fb46204 100644 --- a/sys/dev/microcode/adw/adwmcode.c +++ b/sys/dev/microcode/adw/adwmcode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adwmcode.c,v 1.4 2010/06/26 23:24:45 guenther Exp $ */ +/* $OpenBSD: adwmcode.c,v 1.5 2011/04/07 15:30:16 miod Exp $ */ /* $NetBSD: adwmcode.c,v 1.5 2000/05/27 18:24:50 dante Exp $ */ /* @@ -77,7 +77,7 @@ AdwInitCarriers(carr_dmap, carriers) ADW_CARRIER *carriers; { ADW_CARRIER *carr; - u_int32_t carr_next = NULL; + u_int32_t carr_next = 0; int i; bzero(carriers, sizeof(ADW_CARRIER) * ADW_MAX_CARRIER); -- cgit v1.2.3