Skip to content

Commit 175964f

Browse files
authored
fix typo (#25085)
found this issue while porting my app to wasm64
1 parent 06e02d2 commit 175964f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/libhtml5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2058,7 +2058,7 @@ var LibraryHTML5 = {
20582058
$registerBeforeUnloadEventCallback: (target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString) => {
20592059
var beforeUnloadEventHandlerFunc = (e = event) => {
20602060
// Note: This is always called on the main browser thread, since it needs synchronously return a value!
2061-
var confirmationMessage = {{{ makeDynCall('iipp', 'callbackfunc') }}}(eventTypeId, 0, userData);
2061+
var confirmationMessage = {{{ makeDynCall('pipp', 'callbackfunc') }}}(eventTypeId, 0, userData);
20622062

20632063
if (confirmationMessage) {
20642064
confirmationMessage = UTF8ToString(confirmationMessage);

0 commit comments

Comments
 (0)