From 05de2e998c7df2757ae63ce6a053e27eca3d13ca Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Oct 2013 09:43:55 +0200 Subject: InputStream: use int64_t instead of goffset Decouple some more from GLib. --- src/decoder/FaadDecoderPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder/FaadDecoderPlugin.cxx') diff --git a/src/decoder/FaadDecoderPlugin.cxx b/src/decoder/FaadDecoderPlugin.cxx index de846c61a..077b3ccf2 100644 --- a/src/decoder/FaadDecoderPlugin.cxx +++ b/src/decoder/FaadDecoderPlugin.cxx @@ -170,7 +170,7 @@ faad_song_duration(DecoderBuffer *buffer, struct input_stream *is) size_t length; bool success; - const goffset size = is->GetSize(); + const auto size = is->GetSize(); fileread = size >= 0 ? size : 0; decoder_buffer_fill(buffer); -- cgit v1.2.3