summaryrefslogtreecommitdiff
path: root/cups/hash.c
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-01-21 11:53:59 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-01-21 11:53:59 -0500
commit0057f146f6e82ac5b57ece8e425b174932a5c35a (patch)
tree3c7a332f6442297406b2b4ad4426975eaa7e5d56 /cups/hash.c
parentaa09736e027a7c87adfb56521a2f8049127001d7 (diff)
downloadcups-0057f146f6e82ac5b57ece8e425b174932a5c35a.tar.gz
Fix compile error on Linux (Issue #5483)
Diffstat (limited to 'cups/hash.c')
-rw-r--r--cups/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cups/hash.c b/cups/hash.c
index 68c9d4e25..061486076 100644
--- a/cups/hash.c
+++ b/cups/hash.c
@@ -1,7 +1,7 @@
/*
* Hashing function for CUPS.
*
- * Copyright © 2015-2018 by Apple Inc.
+ * Copyright © 2015-2019 by Apple Inc.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
* information.
@@ -230,7 +230,7 @@ cupsHashData(const char *algorithm, /* I - Algorithm name */
gnutls_hash_fast(alg, data, datalen, hash);
- return (gnutls_hash_get_len(alg));
+ return ((ssize_t)gnutls_hash_get_len(alg));
}
#else