diff options
author | Emmanuel Rodriguez <emmanuel.rodriguez@gmail.com> | 2017-01-09 12:26:07 +0300 |
---|---|---|
committer | madmonkey <madfkingmonkey@gmail.com> | 2017-01-10 02:55:18 +0300 |
commit | d197e8168d1ae77e5c05ab5faa5e22c6c7febec8 (patch) | |
tree | 5e1b61680ae026ba0babe534b48e5991c640f7ef /hakchi-gui | |
parent | 5bde178d52e6710bd79157d48f803abb9c5f31c4 (diff) |
Fix warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
Diffstat (limited to 'hakchi-gui')
-rw-r--r-- | hakchi-gui/src/fel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hakchi-gui/src/fel.cpp b/hakchi-gui/src/fel.cpp index a6bc9d1..ad08cf0 100644 --- a/hakchi-gui/src/fel.cpp +++ b/hakchi-gui/src/fel.cpp @@ -168,7 +168,7 @@ bool Fel::runUbootCmd(const char*str,bool noreturn) uboot.doCmd(str); uint8_t buf[0x20]; emit dataFlow(-sizeof(buf)); - if(!readMemory(uboot_base_m,sizeof(buf),buf)==sizeof(buf)) + if(readMemory(uboot_base_m,sizeof(buf),buf)!=sizeof(buf)) return false; if(memcmp(buf,uboot.data.data(),sizeof(buf))==0) { |