summaryrefslogtreecommitdiff
path: root/lib/ZParseNot.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZParseNot.c')
-rw-r--r--lib/ZParseNot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZParseNot.c b/lib/ZParseNot.c
index 765808d..6d393a0 100644
--- a/lib/ZParseNot.c
+++ b/lib/ZParseNot.c
@@ -142,7 +142,7 @@ Code_t ZParseNotice(buffer, len, notice)
if (numfields) {
if (ZReadAscii32(ptr, end-ptr, &temp) == ZERR_BADFIELD)
BAD_PACKET;
- notice->z_kind = temp;
+ notice->z_kind = (ZNotice_Kind_t)temp;
numfields--;
next_field (ptr);
}