change max return + parms form int to unsigned int
This commit is contained in:
1 parent
b8d1a881cb
commit
54aea82417
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int max(int a, int b) {
|
||||
unsigned int max(unsigned int a, unsigned int b) {
|
||||
if (a > b)
|
||||
return a;
|
||||
return b;
|
||||
|
||||
Reference in new issue
Block a user