summaryrefslogtreecommitdiff
path: root/lib/ZRecvNot.c
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-06-23 06:28:56 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-06-23 06:28:56 +0000
commit76a56cff9767ccf9d1e579e808247ef3ad1f5282 (patch)
tree15a05e875c5e43bf2a739d1f9b15ed3b71c3bb77 /lib/ZRecvNot.c
parent0a9847711808fbd565b2d1db75525de6e606063f (diff)
lint fixes
Diffstat (limited to 'lib/ZRecvNot.c')
-rw-r--r--lib/ZRecvNot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ZRecvNot.c b/lib/ZRecvNot.c
index a08f886..857fc77 100644
--- a/lib/ZRecvNot.c
+++ b/lib/ZRecvNot.c
@@ -32,11 +32,11 @@ Code_t ZReceiveNotice(notice, from)
if ((retval = Z_WaitForComplete()) != ZERR_NONE)
return (retval);
- nextq = (struct _Z_InputQ *) Z_GetFirstComplete();
+ nextq = Z_GetFirstComplete();
len = nextq->packet_len;
- if (!(buffer = malloc(len)))
+ if (!(buffer = malloc((unsigned) len)))
return (ENOMEM);
if (from)