summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2006-04-10 05:38:17 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2006-04-10 05:38:17 +0000
commite64dda0fdb482bf780f251ce1dd4e6ad2828e042 (patch)
tree74480b499839a4e8e0375b321a571e287d64cad5 /src
parent7cfac0b14681b3b1e26294cb3e1ea947f2b41b5f (diff)
downloadflac-e64dda0fdb482bf780f251ce1dd4e6ad2828e042.tar.gz
fix compiler warnings
Diffstat (limited to 'src')
-rw-r--r--src/test_libFLAC/metadata_object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_libFLAC/metadata_object.c b/src/test_libFLAC/metadata_object.c
index 0c450f3b..b29a68cc 100644
--- a/src/test_libFLAC/metadata_object.c
+++ b/src/test_libFLAC/metadata_object.c
@@ -208,7 +208,7 @@ static int vc_find_from_(FLAC__StreamMetadata *block, const char *name, unsigned
unsigned i;
for(i = start; i < block->data.vorbis_comment.num_comments; i++) {
const FLAC__StreamMetadata_VorbisComment_Entry *entry = &block->data.vorbis_comment.comments[i];
- if(entry->length > n && 0 == strncmp(entry->entry, name, n) && entry->entry[n] == '=')
+ if(entry->length > n && 0 == strncmp((const char *)entry->entry, name, n) && entry->entry[n] == '=')
return (int)i;
}
return -1;
@@ -891,7 +891,7 @@ FLAC__bool test_metadata_object()
printf("FAILED, returned false\n");
return false;
}
- if(strcmp(entry_.entry, "name=value")) {
+ if(strcmp((const char *)entry_.entry, "name=value")) {
printf("FAILED, field mismatch\n");
return false;
}