summarylogtreecommitdiffstats
path: root/fix_ptr2bool_cast.patch
blob: e502a3779af5b9f2443d400b188d1b4d97007263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
 }