clang-tidy: Enable bugprone-narrowing-conversions check

This check indicates instances where there's a potential loss of
data during type conversions, particularly when converting from
a wider type to a narrower type.

Change-Id: I43f3d9ff4a6d672f51c7b2d3eccca90f262fa852
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/sync_watch.cpp b/sync_watch.cpp
index 653a22d..fdeace6 100644
--- a/sync_watch.cpp
+++ b/sync_watch.cpp
@@ -114,7 +114,7 @@
         }
 
         // fileMap<wd, path>
-        auto rc = syncWatch->syncCallback(event->mask,
+        auto rc = syncWatch->syncCallback(static_cast<int>(event->mask),
                                           syncWatch->fileMap[event->wd]);
         if (rc)
         {