Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use long int for the pids, just to be sure without doublechecking what the size of...
[simgrid.git] / src / gras / Virtu / rl_process.c
index 49f6e90..64c5f12 100644 (file)
@@ -29,8 +29,8 @@ const char *xbt_procname(void) {
   else return "";
 }
 
-int gras_os_getpid(void) {
-  return getpid();
+long int gras_os_getpid(void) {
+  return (long int) getpid();
 }
 
 /* **************************************************************************