Skip to content

Commit

Permalink
bugfix: "must have class/struct/union" compile errors on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jan 31, 2025
1 parent 0fc3160 commit 86cbef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/native/glue/j/Jolt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_Jolt_hashBytes__JI
JNIEXPORT jlong JNICALL Java_com_github_stephengold_joltjni_Jolt_hashCombine__JI
(JNIEnv *, jclass, jlong oldHash, jint iValue) {
uint64 result = oldHash;
HashCombine(result, iValue);
HashCombine(result, (uint32)iValue);
return result;
}

Expand Down

0 comments on commit 86cbef8

Please sign in to comment.