We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72448dc commit ed6a4caCopy full SHA for ed6a4ca
src/ImGui.NET/Util.cs
@@ -87,7 +87,7 @@ internal static uint SetBits(uint oldValue, int offset, int bitCount, uint newBi
87
return (uint)((oldValue & ~mask) | (newBits << offset & mask));
88
}
89
90
- internal static ulong SetBits(byte oldValue, int offset, int bitCount, ulong newBits)
+ internal static ulong SetBits(ulong oldValue, int offset, int bitCount, ulong newBits)
91
{
92
var mask = (ulong)((1 << bitCount) - 1 << offset);
93
return (ulong)((oldValue & ~mask) | (newBits << offset & mask));
0 commit comments