~ecs/d

1e6dedb527535053c7f431565e3bf51bed730937 — Eyal Sawady 2 months ago 2c25a4c master
Make signedness of `opt` explicit

Fixes compilation on armv7l
1 files changed, 1 insertions(+), 1 deletions(-)

M d.c
M d.c => d.c +1 -1
@@ 8,7 8,7 @@
static char *default_argv[] = {"sh", "-i", NULL};

int main(int argc, char **argv) {
	char opt;
	signed char opt;
	struct passwd *pw = getpwnam(AUTH_NAME);
	if (!pw) {
		fprintf(stderr, "bad authenticated username: " AUTH_NAME "\n");