Fix a few -pedantic warnings

We're not enabling -pedantic by default, but a quick test brought up a few
issues that we should fix.
This commit is contained in:
Kristian Høgsberg
2012-05-10 12:28:35 -04:00
parent c4621b07f6
commit b71302e1db
7 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ enum weston_option_type {
WESTON_OPTION_INTEGER,
WESTON_OPTION_UNSIGNED_INTEGER,
WESTON_OPTION_STRING,
WESTON_OPTION_BOOLEAN,
WESTON_OPTION_BOOLEAN
};
struct weston_option {
+1 -1
View File
@@ -334,7 +334,7 @@ load_webp(FILE *fp)
struct image_loader {
char header[4];
unsigned char header[4];
int header_size;
pixman_image_t *(*load)(FILE *fp);
};