From b12eb34b29fac43e71f656cf8246ecb2e17355fa Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 2 Aug 2012 15:58:08 +0000 Subject: [PATCH] - try to fix windows compilation error --- src/mesh/gnunet-service-mesh.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 2b822db99..3972f2d02 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -1650,16 +1650,16 @@ announce_id (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) /** * Check if one pid is bigger than other, accounting for overflow. * - * @param big Argument that should be bigger. - * @param small Argument that should be smaller. + * @param biger Argument that should be bigger. + * @param smaller Argument that should be smaller. * * @return True if big is bigger than small */ static int -is_pid_bigger (uint32_t big, uint32_t small) +is_pid_bigger (uint32_t bigger, uint32_t smaller) { - return (PID_OVERFLOW(small, big) || - (big > small && !PID_OVERFLOW(big, small))); + return (GNUNET_YES == PID_OVERFLOW(smaller, bigger) || + (bigger > smaller && GNUNET_NO == PID_OVERFLOW(bigger, smaller))); } /** -- 2.25.1