Jelajahi Sumber

!2 fix uos compile problem

chenliangyu 8 bulan lalu
induk
melakukan
b80be1d941
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Framework/spbase/sp_mod.c

+ 1 - 1
Framework/spbase/sp_mod.c

@@ -1792,7 +1792,7 @@ static int load_module(sp_mod_mgr_t *mgr, sp_mod_t *mod, int trigger_entity_id,
 			rc = Error_Unexpect;
 		} else {
 			char pidBuffer[20] = "";
-			itoa(mod->process.pid, pidBuffer, sizeof(pidBuffer));
+			_itoa(mod->process.pid, pidBuffer, sizeof(pidBuffer));
 			addStartupStep(entity_id, "create module process succ", pidBuffer, 0, 0, 0);
 		}
 	} else {