diff --git a/MemoryAllocation/WorstFit.c b/MemoryAllocation/WorstFit.c index 5de08bb..9955ffe 100644 --- a/MemoryAllocation/WorstFit.c +++ b/MemoryAllocation/WorstFit.c @@ -38,7 +38,7 @@ int main() { avail[j]=blockSize[j]-jobSize[i]; } } - max=0; + int max=0; for(j=0;j