From 71eaa65e4ee4c026578f1e6eab8c64dd56317526 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 2 May 2019 16:52:50 +0200 Subject: [PATCH] movies: fix another streampos comparison error in VC2015 --- panda/src/movies/opusAudioCursor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/movies/opusAudioCursor.cxx b/panda/src/movies/opusAudioCursor.cxx index 3aee7c5844..ab81068742 100644 --- a/panda/src/movies/opusAudioCursor.cxx +++ b/panda/src/movies/opusAudioCursor.cxx @@ -194,7 +194,7 @@ seek(double t) { // be able to explicitly seek to the beginning of the file and call op_open // again. This allows looping compressed .opus files. if (error == OP_ENOSEEK && sample == 0) { - if (_stream->rdbuf()->pubseekpos(0, std::ios::in) == 0) { + if (_stream->rdbuf()->pubseekpos(0, std::ios::in) == (std::streampos)0) { OggOpusFile *op = op_open_callbacks((void *)_stream, &callbacks, nullptr, 0, nullptr); if (op != nullptr) { op_free(_op);