Page MenuHomePhabricator

[OpenMP][NFC] Eliminate sign comparison warning via explicit casts
ClosedPublic

Authored by jdoerfert on Feb 16 2021, 1:10 PM.

Diff Detail

Event Timeline

jdoerfert created this revision.Feb 16 2021, 1:10 PM
jdoerfert requested review of this revision.Feb 16 2021, 1:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 16 2021, 1:10 PM
Herald added a subscriber: sstefan1. · View Herald Transcript
tianshilei1992 added inline comments.Feb 16 2021, 1:13 PM
openmp/libomptarget/plugins/cuda/src/rtl.cpp
232

I'd use C++ cast, aka static_cast<int>(...).

This revision is now accepted and ready to land.Feb 16 2021, 1:22 PM
This revision was landed with ongoing or failed builds.Feb 16 2021, 1:37 PM
This revision was automatically updated to reflect the committed changes.