diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 23:45:44 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 23:45:44 +0000 |
commit | f9a4729a9b5e134850841ee06d85b97bf66e749b (patch) | |
tree | e09f1712b3a4b92e9e060d46fecff5e8f5243354 /sys/pci/meteor.c | |
parent | c590848cf5d691aba15e5a6579fb75c5fbefab93 (diff) | |
download | FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.zip FreeBSD-src-f9a4729a9b5e134850841ee06d85b97bf66e749b.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile.
This commit includes significant work to proper handle const arguments
for the DDB symbol routines.
Diffstat (limited to 'sys/pci/meteor.c')
-rw-r--r-- | sys/pci/meteor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c index f81578d..7f0fcf6 100644 --- a/sys/pci/meteor.c +++ b/sys/pci/meteor.c @@ -1705,7 +1705,7 @@ meteor_ioctl(dev_t dev, u_long cmd, caddr_t arg, int flag, struct proc *pr) } if(error) return error; - if (temp=geo->rows * geo->columns * geo->frames * 2) { + if ((temp=geo->rows * geo->columns * geo->frames * 2) != 0) { if (geo->oformat & METEOR_GEO_RGB24) temp = temp * 2; /* meteor_mem structure for SYNC Capture */ |