Last Comment Bug 651461 - Build failure in nsAudioStream.cpp on OpenBSD
: Build failure in nsAudioStream.cpp on OpenBSD
Product: Core
Classification: Components
Component: Audio/Video (show other bugs)
: Trunk
: All OpenBSD
: -- normal (vote)
: mozilla6
Assigned To: Landry Breuil (:gaston)
: Maire Reavy [:mreavy]
Depends on: 634793
Blocks: openbsdmeta
  Show dependency treegraph
Reported: 2011-04-20 04:38 PDT by Landry Breuil (:gaston)
Modified: 2012-05-19 01:28 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Use int64_t instead of PRInt64 (832 bytes, patch)
2011-04-20 04:41 PDT, Landry Breuil (:gaston)
roc: review+
Details | Diff | Splinter Review

Description Landry Breuil (:gaston) 2011-04-20 04:38:48 PDT
Very similar to nsWebMReader.cpp patch in

As of now, build fails with :
/home/landry/src/mozilla-central/content/media/nsAudioStream.cpp: In member function 'virtual PRInt64 nsAudioStreamLocal::GetSampleOffset()
/home/landry/src/mozilla-central/content/media/nsAudioStream.cpp:571: error: invalid conversion from 'PRInt64*' to 'int64_t*'
/home/landry/src/mozilla-central/content/media/nsAudioStream.cpp:571: error:   initializing argument 3 of 'int sa_stream_get_position(sa_st
ream_t*, sa_position_t, int64_t*)'
Comment 1 Landry Breuil (:gaston) 2011-04-20 04:41:27 PDT
Created attachment 527232 [details] [diff] [review]
Use int64_t instead of PRInt64

Attached patch fixes the issue
Comment 2 Mounir Lamouri (:mounir) 2011-04-22 06:31:31 PDT

Note You need to log in before you can comment on or make changes to this bug.