diff options
author | Keuin <[email protected]> | 2022-05-28 03:10:38 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-05-28 03:10:38 +0800 |
commit | 382a32ae03eac509149c225e66ed745d1d132b22 (patch) | |
tree | 07fac05892b3ab904a6de06afa59d3ca67e0009e | |
parent | e67bab4e6a220b27b87ca56829d39dc8b20a24b4 (diff) |
Do not do implicit type conversion.
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -326,7 +326,7 @@ int main(int argc, char *argv[]) { printf("Invalid thread count number.\n"); goto USAGE; /* invalid integer */ } - threads = val; + threads = (int)val; break; } } |