fix windows build

This commit is contained in:
Joshua Warner 2014-07-14 08:57:03 -06:00
parent cf835b8cc7
commit 2f94c5b03d

View File

@ -182,7 +182,7 @@ void* resolveNativeMethod(Thread* t,
#ifdef PLATFORM_WINDOWS
// on windows, we also try the _%s@%d and %s@%d variants
if (footprint == -1) {
footprint = methodParameterFootprint(t, method) + 1;
footprint = method->parameterFootprint() + 1;
if (method->flags() & ACC_STATIC) {
++footprint;
}