fix: comparison

This commit is contained in:
Rushil Umaretiya 2024-02-20 03:10:23 -05:00
parent 51befe7bf4
commit d07e35ef91
No known key found for this signature in database
GPG Key ID: 4E8FAF9C926AF959

View File

@ -12,7 +12,7 @@ int main(int argc, char *argv[]) {
return 0;
}
if (argv[1][0] == "-") {
if (argv[1][0] == '-') {
printf("1");
num = -num;
} else {