slackbuilds_ponce/multimedia/bombono-dvd/patches/fix_ptr2bool_cast.patch

14 lines
384 B
Diff
Raw Normal View History

diff -ruN old/src/mgui/dvdimport.cpp new/src/mgui/dvdimport.cpp
--- old/src/mgui/dvdimport.cpp 2016-04-10 15:15:39.000000000 +0430
+++ new/src/mgui/dvdimport.cpp 2016-06-18 10:52:35.713230871 +0430
@@ -275,7 +275,7 @@
id.errLbl.hide();
id.reader = rd;
- SetCurPageComplete(id.ast, id.reader);
+ SetCurPageComplete(id.ast, bool(id.reader));
return rd;
}