diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-14 21:03:48 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-14 21:03:48 -0700 |
commit | ca7bf97b6e83b25e7142b321e5f2325b1e47c2d0 (patch) | |
tree | ff48f144231b3dbb2eaac0452363b7a684861787 /Bitmap.h | |
parent | 6e997556a17a1b4a9d6773602af770b9e9f3751e (diff) |
Add const to char * in BWRequest typedef
Fixes many gcc --Wwrite-string warnings of the form:
Bitmap.c: In function ‘BWTPaste’:
Bitmap.c:1913:7: warning: passing argument 2 of ‘BWEngageRequest’ discards qualifiers from pointer target type
Bitmap.h:190:16: note: expected ‘BWRequest’ but argument is of type ‘const char *’
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'Bitmap.h')
-rw-r--r-- | Bitmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ from The Open Group. /* bitmap exports */ typedef struct _BWRequestRec BWRequestRec; -typedef char *BWRequest; +typedef const char *BWRequest; /* declare specific BitmapWidget class and instance datatypes */ |