diff --git a/ground/gcs/src/plugins/ophid/src/ophid_hidapi.cpp b/ground/gcs/src/plugins/ophid/src/ophid_hidapi.cpp index 7a8f197ea..24768265c 100644 --- a/ground/gcs/src/plugins/ophid/src/ophid_hidapi.cpp +++ b/ground/gcs/src/plugins/ophid/src/ophid_hidapi.cpp @@ -163,7 +163,7 @@ int opHID_hidapi::open(int max, int vid, int pid, int usage_page, int usage) devices_found = false; } else { OPHID_DEBUG("HID Device Found"); - OPHID_DEBUG(" type:............VID(%04hx).PID(%04hx)", vid, pid); + OPHID_DEBUG(" type:............VID(%04hx).PID(%04hx)", (unsigned short)vid, (unsigned short)pid); devices_found = true; } } else {