Skip to content

Commit 71eaa65

Browse files
committed
movies: fix another streampos comparison error in VC2015
1 parent 0ac3618 commit 71eaa65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panda/src/movies/opusAudioCursor.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ seek(double t) {
194194
// be able to explicitly seek to the beginning of the file and call op_open
195195
// again. This allows looping compressed .opus files.
196196
if (error == OP_ENOSEEK && sample == 0) {
197-
if (_stream->rdbuf()->pubseekpos(0, std::ios::in) == 0) {
197+
if (_stream->rdbuf()->pubseekpos(0, std::ios::in) == (std::streampos)0) {
198198
OggOpusFile *op = op_open_callbacks((void *)_stream, &callbacks, nullptr, 0, nullptr);
199199
if (op != nullptr) {
200200
op_free(_op);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy