From 0cebd5d6540937019be80429679472a1b50741c2 Mon Sep 17 00:00:00 2001 From: bustico Date: Wed, 26 Jan 2011 15:54:53 +0000 Subject: fix some warning --- tools/ivytestready.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/ivytestready.c') diff --git a/tools/ivytestready.c b/tools/ivytestready.c index b3acd7b..0045bb2 100755 --- a/tools/ivytestready.c +++ b/tools/ivytestready.c @@ -45,28 +45,28 @@ char ready_bind[1000] = "^B ready"; void Ready (IvyClientPtr app, void *user_data, int argc, char *argv[]) { - char *name = IvyGetApplicationName( app ); + const char *name = IvyGetApplicationName( app ); int count = IvySendMsg ("are you there %s",name); printf("Application %s received '%s' from %s sent question 'are you there %s'= %d\n", me, ready_bind, name, name, count); } void Question (IvyClientPtr app, void *user_data, int argc, char *argv[]) { - char *name = IvyGetApplicationName( app ); + const char *name = IvyGetApplicationName( app ); int count = IvySendMsg ("yes i am %s",me); printf("Application %s Reply to %s are you there = %d\n", me, name, count); } void Reply (IvyClientPtr app, void *user_data, int argc, char *argv[]) { - char *name = IvyGetApplicationName( app ); + const char *name = IvyGetApplicationName( app ); printf("Application %s Reply to our question! %s\n", name, argv[0]); } void binCB( IvyClientPtr app, void *user_data, int id, const char* regexp, IvyBindEvent event ) { - char *app_name = IvyGetApplicationName( app ); + const char *app_name = IvyGetApplicationName( app ); switch ( event ) { case IvyAddBind: -- cgit v1.1