Fix compilation

This commit is contained in:
momo5502
2025-09-11 19:35:52 +02:00
parent 35c61a9e1d
commit 965e471686

View File

@@ -200,7 +200,7 @@ function getIconDataUrl(iconEntry: IconEntry, iconData: ArrayBuffer) {
contentType = "image/x-icon";
const header = generateIcoHeader(iconEntry);
iconData = mergeArrayBuffers(header, iconData);
iconData = mergeArrayBuffers(header.slice().buffer, iconData);
}
return generateDataURL(new Uint8Array(iconData), contentType);