mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-21 06:55:24 -04:00
@@ -370,7 +370,7 @@ string ResourceUtil::DecToHexStr(const int32_t i)
|
|||||||
{
|
{
|
||||||
stringstream ot;
|
stringstream ot;
|
||||||
string result;
|
string result;
|
||||||
ot << setiosflags(ios::uppercase) << "0x" << hex << setw(8) << setfill('0') << i;// 0x expadding 8 bit
|
ot << setiosflags(ios::uppercase) << "0x" << hex << setw(8) << setfill('0') << i; // 0x expadding 8 bit
|
||||||
ot >> result;
|
ot >> result;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user