aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--src/autopasswd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c851050..8054f69 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ LICENSEDIR ?= $(DATADIR)/licenses
PKGNAME = autopasswd
COMMAND = autopasswd
-OPTIMISE = -O0
+OPTIMISE = -Ofast
WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \
-Wtrampolines -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations \
diff --git a/src/autopasswd.c b/src/autopasswd.c
index f464820..71ecbb9 100644
--- a/src/autopasswd.c
+++ b/src/autopasswd.c
@@ -461,7 +461,7 @@ int main(int argc, char** argv)
}
if (c == '\n')
break;
- *(site + site_n++) = (char)c;
+ *(site + site_n++) = (byte)c;
}
/* Disable echoing. (Should be done as soon as possible after reading site.) */