diff options
author | jcoalson <jcoalson> | 2002-11-06 07:11:26 +0000 |
---|---|---|
committer | jcoalson <jcoalson> | 2002-11-06 07:11:26 +0000 |
commit | ee65f895f977863f33026844ada6725c3fbcd403 (patch) | |
tree | 1aecb319ca59b02e0870c56c02789eed97913ea9 /src/libFLAC/format.c | |
parent | 6461581365a3a999a93725ac4d9fde21791b59c1 (diff) | |
download | flac-arm-1.1.3-ee65f895f977863f33026844ada6725c3fbcd403.tar.gz |
more strict typecasts
Diffstat (limited to 'src/libFLAC/format.c')
-rw-r--r-- | src/libFLAC/format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libFLAC/format.c b/src/libFLAC/format.c index c56334c7..b1da684c 100644 --- a/src/libFLAC/format.c +++ b/src/libFLAC/format.c @@ -278,9 +278,9 @@ FLAC__bool FLAC__format_entropy_coding_method_partitioned_rice_contents_ensure_s FLAC__ASSERT(object->capacity_by_order > 0 || (0 == object->parameters && 0 == object->raw_bits)); if(object->capacity_by_order < max_partition_order) { - if(0 == (object->parameters = realloc(object->parameters, sizeof(unsigned)*(1 << max_partition_order)))) + if(0 == (object->parameters = (unsigned*)realloc(object->parameters, sizeof(unsigned)*(1 << max_partition_order)))) return false; - if(0 == (object->raw_bits = realloc(object->raw_bits, sizeof(unsigned)*(1 << max_partition_order)))) + if(0 == (object->raw_bits = (unsigned*)realloc(object->raw_bits, sizeof(unsigned)*(1 << max_partition_order)))) return false; object->capacity_by_order = max_partition_order; } |