From 382a32ae03eac509149c225e66ed745d1d132b22 Mon Sep 17 00:00:00 2001 From: Keuin Date: Sat, 28 May 2022 03:10:38 +0800 Subject: Do not do implicit type conversion. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index e94818c..05eda03 100644 --- a/main.c +++ b/main.c @@ -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; } } -- cgit v1.2.3