about summary refs log tree commit diff
path: root/Src/glob.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:05:11 +0000
committerWayne Davison <wayned@users.sourceforge.net>2004-05-28 19:05:11 +0000
commit88013bb1950b4ab0cfaf45a90931b0013ffb1b6b (patch)
treeb414cb550c1377f02c88efd3e4650602d3cb6f55 /Src/glob.c
parent957c870b578d70089fce73809a84a8048e615d67 (diff)
downloadzsh-88013bb1950b4ab0cfaf45a90931b0013ffb1b6b.tar.gz
zsh-88013bb1950b4ab0cfaf45a90931b0013ffb1b6b.tar.xz
zsh-88013bb1950b4ab0cfaf45a90931b0013ffb1b6b.zip
Fixed signed/unsigned compiler warning.
Diffstat (limited to 'Src/glob.c')
-rw-r--r--Src/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c
index a979674e3..8eca74cb2 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -2562,7 +2562,7 @@ remnulargs(char *s)
 static int
 qualdev(char *name, struct stat *buf, off_t dv, char *dummy)
 {
-    return buf->st_dev == dv;
+    return (off_t)buf->st_dev == dv;
 }
 
 /* number of hard links to file */