Make that returned character "signed" explicity so that it is always a signed character on all platforms.

This commit is contained in:
Mike Brady
2018-03-05 19:56:26 +00:00
parent 9776b378d4
commit 04d0d260fe
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ void *dbus_thread_func(void *arg) {
int main(int argc, char *argv[]) {
GBusType gbus_type_selected = G_BUS_TYPE_SYSTEM; // set default
// get the options --system or --session for system bus or session bus
char c; /* used for argument parsing */
signed char c; /* used for argument parsing */
poptContext optCon; /* context for parsing command-line options */
struct poptOption optionsTable[] = {