@@ -112,9 +112,9 @@ static inline void dumpTargetPointerMappings(const ident_t *Loc,
112
112
for (const auto &HostTargetMap : Device.HostDataToTargetMap ) {
113
113
SourceInfo Info (HostTargetMap.HstPtrName );
114
114
INFO (OMP_INFOTYPE_ALL, Device.DeviceID ,
115
- DPxMOD " " DPxMOD " %-8lu %-8ld %s at %s:%d:%d\n " ,
115
+ DPxMOD " " DPxMOD " %-8 " PRIuPTR " %-8 " PRId64 " %s at %s:%d:%d\n " ,
116
116
DPxPTR (HostTargetMap.HstPtrBegin ), DPxPTR (HostTargetMap.TgtPtrBegin ),
117
- ( long unsigned )( HostTargetMap.HstPtrEnd - HostTargetMap.HstPtrBegin ) ,
117
+ HostTargetMap.HstPtrEnd - HostTargetMap.HstPtrBegin ,
118
118
HostTargetMap.getRefCount (), Info.getName (), Info.getFilename (),
119
119
Info.getLine (), Info.getColumn ());
120
120
}
@@ -152,7 +152,7 @@ printKernelArguments(const ident_t *Loc, const int64_t DeviceId,
152
152
else
153
153
type = " use_address" ;
154
154
155
- INFO (OMP_INFOTYPE_ALL, DeviceId, " %s(%s)[%ld ] %s\n " , type,
155
+ INFO (OMP_INFOTYPE_ALL, DeviceId, " %s(%s)[%" PRId64 " ] %s\n " , type,
156
156
getNameFromMapping (varName).c_str (), ArgSizes[i], implicit);
157
157
}
158
158
}
0 commit comments