diff options
| author | Simon <simon@hardwired.org.uk> | 2011-04-08 14:39:55 (GMT) |
|---|---|---|
| committer | Simon <simon@hardwired.org.uk> | 2011-04-08 14:39:55 (GMT) |
| commit | 6c3ac2af5c7b5693bb34213c629053203cacea78 (patch) | |
| tree | c8c08d1a83c844dd3ee795d34f72603c0a83119c /src/graphics.c | |
| parent | 626cc8fa6a6cf5e2f046d138b72e3122614c46ad (diff) | |
| download | powder-6c3ac2af5c7b5693bb34213c629053203cacea78.zip powder-6c3ac2af5c7b5693bb34213c629053203cacea78.tar.gz | |
Remove more warnings
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c index ed96f64..47af4e1 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -868,7 +868,7 @@ int drawtextwrap(pixel *vid, int x, int y, int w, const char *s, int r, int g, i while (*s) { wordlen = strcspn(s," .,!?\n"); - charspace = textwidthx(s, w-(x-cw)); + charspace = textwidthx((char *)s, w-(x-cw)); if (charspace<wordlen && wordlen && w-(x-cw)<w/3) { x = sx; |
