diff options
Diffstat (limited to 'ch7')
-rw-r--r-- | ch7/7-01_upper-lower.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ch7/7-01_upper-lower.c b/ch7/7-01_upper-lower.c index 2f641c1..047c83c 100644 --- a/ch7/7-01_upper-lower.c +++ b/ch7/7-01_upper-lower.c @@ -26,12 +26,12 @@ int main(int argc, char *argv[]) { plow = strstr(argv[0], "lower"); pupp = strstr(argv[0], "upper"); if (plow != NULL) { - lpos = (int) (plow - argv[0]); + lpos = (int)(plow - argv[0]); } else { lpos = -1; } if (pupp != NULL) { - upos = (int) (pupp - argv[0]); + upos = (int)(pupp - argv[0]); } else { upos = -1; } |