aboutsummaryrefslogtreecommitdiff
path: root/multimedia/bombono-dvd/patches/fix_ptr2bool_cast.patch
blob: 4999db1ca4b3eb4919f69e87ecdd58cd5eccba7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
 }