From a5d98473c097bc330caf08a9db90f09def6b707c Mon Sep 17 00:00:00 2001 From: Teemu Murtola Date: Thu, 27 May 2010 17:51:34 +0200 Subject: [PATCH] Fixed a few signed/unsigned comparison warnings. --- src/gmxlib/selection/mempool.c | 2 +- src/gmxlib/selection/selhelp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gmxlib/selection/mempool.c b/src/gmxlib/selection/mempool.c index 215575c015..bb62bc3494 100644 --- a/src/gmxlib/selection/mempool.c +++ b/src/gmxlib/selection/mempool.c @@ -64,7 +64,7 @@ struct gmx_sel_mempool_t char *freeptr; int nblocks; gmx_sel_mempool_block_t *blockstack; - size_t blockstack_nalloc; + int blockstack_nalloc; size_t maxsize; }; diff --git a/src/gmxlib/selection/selhelp.c b/src/gmxlib/selection/selhelp.c index 2494ba402b..561eae76c4 100644 --- a/src/gmxlib/selection/selhelp.c +++ b/src/gmxlib/selection/selhelp.c @@ -359,7 +359,7 @@ void _gmx_sel_print_help(struct gmx_ana_selcollection_t *sc, const char *topic) { const t_selection_help_item *item = NULL; - int i; + size_t i; /* Find the item for the topic */ if (!topic) -- 2.11.4.GIT