diff --git a/services/hilogtool/main.cpp b/services/hilogtool/main.cpp index 9d3c0eb4e9449ab7790e8417aa7170a93e6df68d..915e79b9f0d884ebf03214ab496fa0bf31722b68 100644 --- a/services/hilogtool/main.cpp +++ b/services/hilogtool/main.cpp @@ -604,7 +604,7 @@ int HilogEntry(int argc, char* argv[]) } default: - cout << "Invalid response from hilogd! response: " << msgHeader->msgType << endl; + cout << "Invalid response from hilogd! response: " << unsigned(msgHeader->msgType) << endl; break; } return 0;