fix compile on mac

This commit is contained in:
Jason
2022-11-14 10:10:47 +08:00
parent 51818ed825
commit bd1938a08f

View File

@@ -69,7 +69,7 @@ DLDataType FDToDlpackType(FDDataType fd_dtype) {
default:
FDASSERT(false,
"Convert to DlPack, FDType \"%s\" is not supported.", Str(fd_dtype));
"Convert to DlPack, FDType \"%s\" is not supported.", Str(fd_dtype).c_str());
}
dl_dtype.code = dl_code;