/pidgin/main: 1ca572ed7563: Fix some minor type warnings.

Elliott Sales de Andrade qulogic at pidgin.im
Fri May 24 03:55:44 EDT 2013


Changeset: 1ca572ed75632079f07e356045aadf6930dffc4b
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2013-05-24 03:30 -0400
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/1ca572ed7563

Description:

Fix some minor type warnings.

diffstat:

 libpurple/ciphers/des.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (39 lines):

diff --git a/libpurple/ciphers/des.c b/libpurple/ciphers/des.c
--- a/libpurple/ciphers/des.c
+++ b/libpurple/ciphers/des.c
@@ -425,7 +425,7 @@ des_encrypt(PurpleCipherContext *context
 	return out_len;
 }
 
-static gint
+static ssize_t
 des_decrypt(PurpleCipherContext *context, const guchar input[], size_t in_len,
 	guchar output[], size_t out_size)
 {
@@ -680,7 +680,7 @@ des3_encrypt(PurpleCipherContext *contex
 	return 0;
 }
 
-static gint
+static ssize_t
 des3_ecb_decrypt(struct _des3_ctx *ctx, const guchar input[], size_t in_len,
 	guchar output[], size_t out_size)
 {
@@ -734,7 +734,7 @@ des3_ecb_decrypt(struct _des3_ctx *ctx, 
 	return out_len;
 }
 
-static gint
+static ssize_t
 des3_cbc_decrypt(struct _des3_ctx *ctx, const guchar input[], size_t in_len,
 	guchar output[], size_t out_size)
 {
@@ -795,7 +795,7 @@ des3_cbc_decrypt(struct _des3_ctx *ctx, 
 	return out_len;
 }
 
-static gint
+static ssize_t
 des3_decrypt(PurpleCipherContext *context, const guchar input[], size_t in_len,
 	guchar output[], size_t out_size)
 {



More information about the Commits mailing list