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

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git

commit 9b45fbc5d2cb59e3de14dc88077b6e4713892103
Author: Christopher Collins <ccoll...@apache.org>
AuthorDate: Mon Feb 12 13:16:56 2018 -0800

    fs_mgmt - Surround macro definition with ().
---
 cmd/fs_mgmt/src/fs_mgmt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/fs_mgmt/src/fs_mgmt.c b/cmd/fs_mgmt/src/fs_mgmt.c
index 2ce7fc2..2d43ac1 100644
--- a/cmd/fs_mgmt/src/fs_mgmt.c
+++ b/cmd/fs_mgmt/src/fs_mgmt.c
@@ -47,7 +47,7 @@ static const struct mgmt_handler fs_mgmt_handlers[] = {
 };
 
 #define FS_MGMT_HANDLER_CNT \
-    sizeof fs_mgmt_handlers / sizeof fs_mgmt_handlers[0]
+    (sizeof fs_mgmt_handlers / sizeof fs_mgmt_handlers[0])
 
 static struct mgmt_group fs_mgmt_group = {
     .mg_handlers = fs_mgmt_handlers,

-- 
To stop receiving notification emails like this one, please contact
ccoll...@apache.org.

Reply via email to