Skip to content

Commit 34f3e88

Browse files
authored
[Flang][experimental] Fix compiler error after upstream merge (llvm#2272)
2 parents 5f9e6e9 + 061c503 commit 34f3e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang-rt/lib/amd/amd_alloc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static bool debugEnabled;
3737
static umpire_resourcemanager resourceManager;
3838
static umpire_allocator memoryPool;
3939

40-
void *UmpireAlloc(std::size_t AllocationSize, std::int64_t) {
40+
void *UmpireAlloc(std::size_t AllocationSize, std::int64_t *) {
4141
#if ALLOC_DEBUG
4242
if (debugEnabled) {
4343
std::fprintf(stderr, "[AMD_ALLOC] %s(%zu) (%s:%d)\n", __PRETTY_FUNCTION__,

0 commit comments

Comments
 (0)