This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 9f9fed323217dfbe638cba2a001ae9d62580e713
Author: David Sidrane <[email protected]>
AuthorDate: Thu Oct 15 08:46:28 2020 -0700

    ipcfg_binary: Fix compiler warning
---
 fsutils/ipcfg/ipcfg_binary.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fsutils/ipcfg/ipcfg_binary.c b/fsutils/ipcfg/ipcfg_binary.c
index e2d841d..8d4dc2b 100644
--- a/fsutils/ipcfg/ipcfg_binary.c
+++ b/fsutils/ipcfg/ipcfg_binary.c
@@ -228,7 +228,7 @@ static int ipcfg_find_binary(int fd, sa_family_t af)
           return OK;
         }
       else if (hdr.version != IPCFG_VERSION ||
-               hdr.type != AF_INET && hdr.type != AF_INET6)
+               (hdr.type != AF_INET && hdr.type != AF_INET6))
         {
           return -EINVAL;
         }

Reply via email to