summaryrefslogtreecommitdiffstats
path: root/sys/pci/meteor.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/meteor.c')
-rw-r--r--sys/pci/meteor.c2
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 */
OpenPOWER on IntegriCloud