Skip to content
This repository has been archived by the owner on Nov 2, 2022. It is now read-only.

Commit

Permalink
Fix warning e typo #15
Browse files Browse the repository at this point in the history
  • Loading branch information
jjak0b committed May 7, 2020
1 parent 63b9e9d commit 3176339
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handler/shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ word Syscaller( state_t *state, word sysNo, word param1, word param2, word param
break;
case GETPID:
b_hasReturnValue = TRUE;
*returnValue = (int) Sys8_GetPID( (void**)param1, (void**)param2 );
*returnValue = (int) Sys8_GetPID( (pcb_t**)param1, (pcb_t**)param2 );
break;
default: {
state_t *area = GetSpecPassup( SYS_SPECPASSUP_TYPE_SYSBK );
Expand All @@ -110,7 +110,7 @@ void Sys1_GetCPUTime( state_t* currState, word *user, word *kernel, word *wallcl
int Sys2_CreateProcess( state_t *child_state, int child_priority, pcb_t **child_pid ) {
/* prima di eseguire viene controllata la validità dei puntatori forniti */
if ( child_state && child_pid ) {
*child_pid = allocPCB(); /* il puntatore sarà nullo in caso non vi siano PCB disponibili */
*child_pid = allocPcb(); /* il puntatore sarà nullo in caso non vi siano PCB disponibili */

if ( *child_pid ) {
(*child_pid)->p_s = *child_state;
Expand Down

0 comments on commit 3176339

Please sign in to comment.