Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evgTSV authored and ForNeVeR committed Nov 14, 2024
1 parent a218ebb commit 584e7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cesium.Runtime/StdIoFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ internal static IntPtr AddStream(StreamHandle stream)
var gch = GCHandle.Alloc(stream);
var handel = GCHandle.ToIntPtr(gch);

var ptr = Marshal.AllocHGlobal(sizeof(GCHandle));
var ptr = Marshal.AllocHGlobal(sizeof(IntPtr));
Marshal.WriteIntPtr(ptr, handel);
return ptr;
}
Expand Down

0 comments on commit 584e7e7

Please sign in to comment.