diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-20 11:14:49 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-20 14:37:00 +0100 |
commit | 40b77bcb1c7bc2b6a435e506bc613393b9cd1c59 (patch) | |
tree | c95fa7d61d02a49c5f868439e6030d0c20cebefa /lib/opencdk | |
parent | e48d684822dff934ba373c053eb3397f6e7613f8 (diff) | |
download | gnutls-40b77bcb1c7bc2b6a435e506bc613393b9cd1c59.tar.gz |
opencdk/read-packet.c: corrected typo in type cast
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/opencdk')
-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; } |