changeset 344:5180ab5ba385

Fixed a remaining warning
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 28 Apr 2009 14:06:13 +0900
parents b2641daac27d
children b053ff027bad
files waaad/peer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/waaad/peer.c	Tue Apr 28 14:03:08 2009 +0900
+++ b/waaad/peer.c	Tue Apr 28 14:06:13 2009 +0900
@@ -124,7 +124,7 @@
 			break;
 		
 		case PEER_ONLINE:
-			*result = (void *)(_P(peer)->p_state == STATE_OPEN);
+			*result = (void *)(unsigned long)(_P(peer)->p_state == STATE_OPEN);
 			break;
 		
 		case PEER_APPLICATIONS:
"Welcome to our mercurial repository"