diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-05-08 09:02:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-06-13 21:34:43 +0100 |
commit | c2963fa6c1f6da2117663d69505efb3bf2cc4145 (patch) | |
tree | fb852e2ddae035dc302477108e43283a0b503234 /boilerplate/cairo-boilerplate-getopt.h | |
parent | ac44817c4a8464ed5c665cc8b20d1463cf8a5de3 (diff) | |
download | cairo-c2963fa6c1f6da2117663d69505efb3bf2cc4145.tar.gz |
[cairo-boilerplate] Silence compiler warning.
Mark the optstr argument as const to silence a compiler warning in
cairo-perf.
Diffstat (limited to 'boilerplate/cairo-boilerplate-getopt.h')
-rw-r--r-- | boilerplate/cairo-boilerplate-getopt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/cairo-boilerplate-getopt.h b/boilerplate/cairo-boilerplate-getopt.h index 6ed780c97..74bce14c7 100644 --- a/boilerplate/cairo-boilerplate-getopt.h +++ b/boilerplate/cairo-boilerplate-getopt.h @@ -48,7 +48,7 @@ extern int optind; extern int opterr; extern int optopt; -int _cairo_getopt(int argc, char** argv, char* optstr); +int _cairo_getopt(int argc, char** argv, const char* optstr); #ifdef __cplusplus |