commit
fc61eb37ce
25 changed files with 60 additions and 61 deletions
|
|
@ -270,7 +270,7 @@ static void user_read_data(png_structp png_ptr,png_bytep data, png_size_t p_leng
|
|||
PNGReadStatus *rstatus;
|
||||
rstatus=(PNGReadStatus*)png_get_io_ptr(png_ptr);
|
||||
|
||||
int to_read=p_length;
|
||||
png_size_t to_read=p_length;
|
||||
if (rstatus->size>=0) {
|
||||
to_read = MIN( p_length, rstatus->size - rstatus->offset);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -175,8 +175,8 @@ void AudioDriverPulseAudio::finish() {
|
|||
exit_thread = true;
|
||||
Thread::wait_to_finish(thread);
|
||||
|
||||
if (pulse)
|
||||
pa_simple_free(pulse);
|
||||
if (pulse)
|
||||
pa_simple_free(pulse);
|
||||
|
||||
if (samples_in) {
|
||||
memdelete_arr(samples_in);
|
||||
|
|
|
|||
|
|
@ -390,7 +390,7 @@ Error OS_Unix::execute(const String& p_path, const List<String>& p_arguments,boo
|
|||
if (p_blocking) {
|
||||
|
||||
int status;
|
||||
pid_t rpid = waitpid(pid,&status,0);
|
||||
waitpid(pid,&status,0);
|
||||
if (r_exitcode)
|
||||
*r_exitcode=WEXITSTATUS(status);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue