Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : new cfg command line flag (model-check/max_depth) for max depth of...
[simgrid.git] / src / xbt / datadesc / cbps.c
index b397268..b258d3a 100644 (file)
@@ -1,4 +1,4 @@
-/* cbps - persistant states for callbacks                                   */
+/* cbps - persistent states for callbacks                                   */
 
 /* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009, 2010. The SimGrid Team.
  * All rights reserved.                                                     */
@@ -9,7 +9,7 @@
 #include "xbt/ex.h"
 #include "xbt/datadesc/datadesc_private.h"
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_ddt_cbps, xbt_ddt,
-                                "callback persistant state");
+                                "callback persistent state");
 
 typedef struct {
   xbt_datadesc_type_t type;
@@ -378,7 +378,7 @@ void xbt_datadesc_cb_push_uint_mult(xbt_datadesc_type_t ignored,
   unsigned int old = *(unsigned int *) data;
   unsigned int new = xbt_cbps_i_pop(vars);
 
-  XBT_DEBUG("push %d x %d as a size", old, new);
+  XBT_DEBUG("push %u x %u as a size", old, new);
   xbt_cbps_i_push(vars, (int) (old * new));
 }
 
@@ -400,6 +400,6 @@ void xbt_datadesc_cb_push_ulint_mult(xbt_datadesc_type_t ignored,
   unsigned long int old = *(unsigned long int *) data;
   unsigned long int new = xbt_cbps_i_pop(vars);
 
-  XBT_DEBUG("push %ld x %ld as a size", old, new);
+  XBT_DEBUG("push %lu x %lu as a size", old, new);
   xbt_cbps_i_push(vars, (int) (old * new));
 }