diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-20 11:14:49 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-21 13:19:24 +0100 |
commit | 5888e3cc63611396adb90d3ad1dc42a0bdb5850b (patch) | |
tree | fc497a0a0515d43ea3c2ab4611219a9f438cc48a /lib | |
parent | 09a2f72584bb52ba87a97ee291729d6609229626 (diff) | |
download | gnutls-5888e3cc63611396adb90d3ad1dc42a0bdb5850b.tar.gz |
opencdk/read-packet.c: corrected typo in type cast
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib')
-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 d95845d569..a2631fed11 100644 --- a/lib/opencdk/read-packet.c +++ b/lib/opencdk/read-packet.c @@ -919,7 +919,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; } |