summarylogtreecommitdiffstats
path: root/boost.patch
diff options
context:
space:
mode:
Diffstat (limited to 'boost.patch')
-rw-r--r--boost.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/boost.patch b/boost.patch
new file mode 100644
index 00000000000..14d8ac91656
--- /dev/null
+++ b/boost.patch
@@ -0,0 +1,10 @@
+--- masari-0.2.4.5/src/cryptonote_basic/miner.cpp
++++ masari-0.2.4.5~/src/cryptonote_basic/miner.cpp
+@@ -630,7 +630,7 @@
+ boost::tribool battery_powered(on_battery_power());
+ if(!indeterminate( battery_powered ))
+ {
+- on_ac_power = !battery_powered;
++ on_ac_power = !(bool)battery_powered;
+ }
+ }