Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/framework/peer.c')
-rw-r--r--agent/tcf/framework/peer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/agent/tcf/framework/peer.c b/agent/tcf/framework/peer.c
index e69e3766..fdb99bf6 100644
--- a/agent/tcf/framework/peer.c
+++ b/agent/tcf/framework/peer.c
@@ -50,8 +50,8 @@ static void notify_listeners(PeerServer * ps, int type) {
}
static int is_same(PeerServer * a, PeerServer * b) {
- int i;
- int j;
+ unsigned i;
+ unsigned j;
if (a->ind != b->ind) {
return 0;
@@ -109,7 +109,7 @@ PeerServer * peer_server_alloc(void) {
}
void peer_server_addprop(PeerServer * s, const char * name, const char * value) {
- int i;
+ unsigned i;
if (strcmp(name, "ID") == 0) {
loc_free(name);
@@ -134,7 +134,7 @@ void peer_server_addprop(PeerServer * s, const char * name, const char * value)
}
const char * peer_server_getprop(PeerServer * s, const char * name, const char * default_value) {
- int i;
+ unsigned i;
for (i = 0; i < s->ind; i++) {
if (strcmp(s->list[i].name, name) == 0) {

Back to the top