logging_test: fix compile warning from oe-sdk

Update the variable holding the return from getopt_long to
be int, matching the manpage expectation, to resolve the
following compile warning:

    ../logging_test.cpp:244:47: error: comparison is always true due
    to limited range of data type [-Werror=type-limits]
  243 |     while ((arg = getopt_long(argc, argv, "hc:", long_options,
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  244 |                               &option_index)) != -1)
      |                               ~~~~~~~~~~~~~~~~^~~~~

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3985c96081a116a628c47c4e0329dad70af3e766
diff --git a/logging_test.cpp b/logging_test.cpp
index 279d02b..d7d82ce 100644
--- a/logging_test.cpp
+++ b/logging_test.cpp
@@ -229,7 +229,7 @@
 
 int main(int argc, char* argv[])
 {
-    char arg;
+    int arg;
 
     if (argc == 1)
         return elog_test();