diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-06-03 15:59:14 +0200 |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2011-06-03 15:59:14 +0200 |
commit | cba90f981096c2fdcd4dc70cbbf0f3b379c64aac (patch) | |
tree | 565aaaa5ab670398eaae84b11809b06ac589baf1 /src | |
parent | 1fea6530eeca06b0d8d15a9327f87063292e1e6d (diff) |
Fix “initialization from incompatible pointer type” for default_options.
InputDriverRec's last field is a char**, not a const char**, fix this
warning accordingly:
| CC acecad.lo
| acecad.c:132:1: warning: initialization from incompatible pointer type [enabled by default]
| acecad.c:132:1: warning: (near initialization for 'ACECAD.default_options') [enabled by default]
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/acecad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acecad.c b/src/acecad.c index 1e2f0c0..d60b3b6 100644 --- a/src/acecad.c +++ b/src/acecad.c @@ -106,7 +106,7 @@ /* max number of input events to read in one read call */ #define MAX_EVENTS 50 -static const char *default_options[] = +static char *default_options[] = { "BaudRate", "9600", "StopBits", "1", |