Skip to content

Commit

Permalink
Added a cast to avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dpreobra committed Jan 27, 2016
1 parent 968d5bc commit 8c572fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hexl/hexl_emitter/CoreConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ CoreConfig* CoreConfig::CreateAndInitialize(Context *context) {
runtime::RuntimeContext* runtimeContext = context->Runtime();
BrigProfile8_t profile = runtimeContext->ModuleProfile();
uint32_t wavesize = runtimeContext->Wavesize();
uint8_t wavesPerGroup = runtimeContext->WavesPerGroup();
uint8_t wavesPerGroup = static_cast<uint8_t>(runtimeContext->WavesPerGroup());
return new CoreConfig(
BRIG_VERSION_HSAIL_MAJOR,
BRIG_VERSION_HSAIL_MINOR,
Expand Down

0 comments on commit 8c572fc

Please sign in to comment.