Skip to content

Commit

Permalink
Fixes3
Browse files Browse the repository at this point in the history
  • Loading branch information
jdksjolen committed Jan 15, 2025
1 parent a3e424f commit 9938fe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/share/include/jvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ JVM_NewMultiArray(JNIEnv *env, jclass eltClass, jintArray dim);
*/

typedef struct {
int32_t allocator_info_handle;
uint32_t allocator_info_handle;
} arena_t;

JNIEXPORT arena_t JNICALL JVM_MakeArena(const char *name);
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/prims/jvm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4011,7 +4011,7 @@ JVM_END

JNIEXPORT arena_t JNICALL
JVM_MakeArena(const char *name) {
arena_t a{MemTagFactory::tag(name)};
arena_t a{(uint32_t)MemTagFactory::tag(name)};
return a;
}

Expand Down

0 comments on commit 9938fe9

Please sign in to comment.