changeset 1029:e63de8d76916

Remove a few remaining warnings
author Sebastien Decugis <sdecugis@freediameter.net>
date Mon, 15 Apr 2013 16:13:07 +0800
parents 36386035e59d
children 4a2ac93e92ff
files libfdcore/cnxctx.c libfdproto/dictionary_functions.c
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libfdcore/cnxctx.c	Mon Apr 15 15:17:49 2013 +0800
+++ b/libfdcore/cnxctx.c	Mon Apr 15 16:13:07 2013 +0800
@@ -947,7 +947,6 @@
 		size_t  length;
 		ssize_t ret = 0;
 		size_t	received = 0;
-		struct timespec recv_on;
 
 		do {
 			ret = fd_tls_recv_handle_error(conn, session, &header[received], sizeof(header) - received);
--- a/libfdproto/dictionary_functions.c	Mon Apr 15 15:17:49 2013 +0800
+++ b/libfdproto/dictionary_functions.c	Mon Apr 15 16:13:07 2013 +0800
@@ -303,7 +303,7 @@
 	/* FIXME: return len from the function above? */ len = 4;
 	
 	avp_value->os.len = len;
-	avp_value->os.data = buf;
+	avp_value->os.data = (uint8_t *)buf;
 	return 0;
 }
 
"Welcome to our mercurial repository"