From 3caa4f9193235c76c79085ef041257cf7394213b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 23 Apr 2014 21:40:15 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 2 +- src/autopasswd.c | 2 +- 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.) */ -- cgit v1.2.3-70-g09d2