diff options
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | src/autopasswd.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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.) */ |
