Skip to content

Commit 1af362e

Browse files
authored
Merge pull request #19963 from pshipton/winbuild
(0.47) Fix build errors on Windows
2 parents bba92bf + 5a50fe0 commit 1af362e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/jcl/common/java_lang_invoke_MethodHandleNatives.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ getClassSignatureInout(J9VMThread *currentThread, J9Class *clazz, LocalJ9UTF8Buf
510510
}
511511
}
512512
/* +1 to ensure we can add a null-terminator. */
513-
U_32 sigLength = 1;
513+
UDATA sigLength = 1;
514514
if (!isPrimitive) {
515515
/* +2 so that we can fit 'L' and ';' around the class name. */
516516
sigLength += 2;
@@ -521,7 +521,7 @@ getClassSignatureInout(J9VMThread *currentThread, J9Class *clazz, LocalJ9UTF8Buf
521521
sigLength += nameLength + numDims;
522522

523523
if (sigLength <= stringBuffer->remaining()) {
524-
for (U_32 i = 0; i < numDims; i++) {
524+
for (UDATA i = 0; i < numDims; i++) {
525525
stringBuffer->putCharAtCursor('[');
526526
}
527527

0 commit comments

Comments
 (0)