fix_declaration_volatile_signal_var.patch
application/octet-stream
Filename: fix_declaration_volatile_signal_var.patch
Type: application/octet-stream
Part: 3
Message:
Small miscellaneous fixes
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/bin/pgbench/pgbench.c | 1 | 1 |
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index aa1a3541fe..14867a4bd1 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -310,7 +310,7 @@ const char *progname; #define WSEP '@' /* weight separator */ -volatile bool timer_exceeded = false; /* flag from signal handler */ +volatile sig_atomic_t timer_exceeded = false; /* flag from signal handler */ /* * We don't want to allocate variables one by one; for efficiency, add a