aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-04-27 20:52:19 +1200
committerDavid Phillips <david@sighup.nz>2017-04-27 20:52:19 +1200
commitb16f1c537c4219842600c1d174a6a30779d0575e (patch)
treefcafbe7ced7091bc6fb6f265d5cda4c3338eaa49
parent621fc38ad52eab6365028d947d46156fe9710c9d (diff)
downloadsand-leek-b16f1c537c4219842600c1d174a6a30779d0575e.tar.xz
Correct type of opt
-rw-r--r--sand-leek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sand-leek.c b/sand-leek.c
index f8f0f2a..4962eba 100644
--- a/sand-leek.c
+++ b/sand-leek.c
@@ -157,7 +157,7 @@ die_usage(const char *argv0) {
int
main(int argc, char **argv) {
- char opt = '\0';
+ int opt = '\0';
int thread_count = 1;
int i = 0;
pthread_t *workers = NULL;