-/* 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. */
#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;
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));
}
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));
}