diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-20 11:14:49 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-20 11:20:17 +0100 |
commit | 3bb1167cc34ec6bea72aa08acd1a2f541669cd1f (patch) | |
tree | 5c605cea24e9abccd566bdf0f769ceefe451dd31 | |
parent | 51464af713d71802e3c6d5ac15f1a95132a354fe (diff) | |
download | gnutls-3bb1167cc34ec6bea72aa08acd1a2f541669cd1f.tar.gz |
opencdk/read-packet.c: corrected typo in type cast
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/opencdk/read-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opencdk/read-packet.c b/lib/opencdk/read-packet.c index ead6480459..87ab06c569 100644 --- a/lib/opencdk/read-packet.c +++ b/lib/opencdk/read-packet.c @@ -918,7 +918,7 @@ read_new_length(cdk_stream_t inp, *r_len = ((c - 192) << 8) + c1 + 192; } else if (c == 255) { c1 = read_32(inp); - if (c1 == (u32)-1) { + if (c1 == -1) { return; } |