修正模板函数ParseHexStr调用转换错误

This commit is contained in:
hyzboy 2020-03-06 23:27:17 +08:00
parent e7a9ea9e7d
commit 0e8a4a6d24

View File

@ -2601,7 +2601,7 @@ namespace hgl
template<typename T,typename HC> template<typename T,typename HC>
void ParseHexStr(HC &hc,const T *str) void ParseHexStr(HC &hc,const T *str)
{ {
ParseHexStr((uint8 *)&hc,(const uint8 *)str,sizeof(HC)); ParseHexStr((uint8 *)&hc,str,sizeof(HC));
} }
/** /**