X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Ftest_libFLAC%2B%2B%2Fdecoders.cpp;h=f5b1d0b9de71008dcf93dda12d68f48fb82b5f26;hb=f25b2602dce3c09098e3092bfad983e3ec7fdb4f;hp=938c60b12e3299cf417afb597bdeb5409685c5e1;hpb=6497ce19770ec48d565f3a043cc74c9c389c7829;p=platform%2Fupstream%2Fflac.git diff --git a/src/test_libFLAC++/decoders.cpp b/src/test_libFLAC++/decoders.cpp index 938c60b..f5b1d0b 100644 --- a/src/test_libFLAC++/decoders.cpp +++ b/src/test_libFLAC++/decoders.cpp @@ -57,7 +57,7 @@ static const char * const LayerString[] = { static ::FLAC__StreamMetadata streaminfo_, padding_, seektable_, application1_, application2_, vorbiscomment_, cuesheet_, picture_, unknown_; static ::FLAC__StreamMetadata *expected_metadata_sequence_[9]; static unsigned num_expected_; -static off_t flacfilesize_; +static FLAC__off_t flacfilesize_; static const char *flacfilename(bool is_ogg) { @@ -229,7 +229,7 @@ public: if(error_occurred_) return ::FLAC__STREAM_DECODER_SEEK_STATUS_ERROR; - if(fseeko(file_, (off_t)absolute_byte_offset, SEEK_SET) < 0) { + if(fseeko(file_, (FLAC__off_t)absolute_byte_offset, SEEK_SET) < 0) { error_occurred_ = true; return ::FLAC__STREAM_DECODER_SEEK_STATUS_ERROR; } @@ -245,7 +245,7 @@ public: if(error_occurred_) return ::FLAC__STREAM_DECODER_TELL_STATUS_ERROR; - off_t offset = ftello(file_); + FLAC__off_t offset = ftello(file_); *absolute_byte_offset = (FLAC__uint64)offset; if(offset < 0) {