[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23038 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23038 - gnunet/src/mesh |
Date: |
Thu, 2 Aug 2012 17:58:08 +0200 |
Author: bartpolot
Date: 2012-08-02 17:58:08 +0200 (Thu, 02 Aug 2012)
New Revision: 23038
Modified:
gnunet/src/mesh/gnunet-service-mesh.c
Log:
- try to fix windows compilation error
Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c 2012-08-02 15:04:44 UTC (rev
23037)
+++ gnunet/src/mesh/gnunet-service-mesh.c 2012-08-02 15:58:08 UTC (rev
23038)
@@ -1650,16 +1650,16 @@
/**
* 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)));
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23038 - gnunet/src/mesh,
gnunet <=