summaryrefslogtreecommitdiffstats
path: root/sbin/ggate/ggatel
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-05-02 17:59:49 +0000
committerpjd <pjd@FreeBSD.org>2004-05-02 17:59:49 +0000
commit1867695ee64b8ee4fa4b68a44c5df776f53ffca8 (patch)
tree5d8a85a1b26d320d78907ae1988619cd3625385a /sbin/ggate/ggatel
parentffc1c33f15567c89c32070e3be7d3077a7048a0d (diff)
downloadFreeBSD-src-1867695ee64b8ee4fa4b68a44c5df776f53ffca8.zip
FreeBSD-src-1867695ee64b8ee4fa4b68a44c5df776f53ffca8.tar.gz
Fix compiling on 64-bit architectures.
Diffstat (limited to 'sbin/ggate/ggatel')
-rw-r--r--sbin/ggate/ggatel/ggatel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ggate/ggatel/ggatel.c b/sbin/ggate/ggatel/ggatel.c
index 78b969e..01be38c 100644
--- a/sbin/ggate/ggatel/ggatel.c
+++ b/sbin/ggate/ggatel/ggatel.c
@@ -123,7 +123,7 @@ once_again:
error = 0;
switch (ggio.gctl_cmd) {
case BIO_READ:
- if (ggio.gctl_length > bsize) {
+ if ((size_t)ggio.gctl_length > bsize) {
ggio.gctl_data = realloc(ggio.gctl_data,
ggio.gctl_length);
if (ggio.gctl_data != NULL)
OpenPOWER on IntegriCloud