Skip to content

Commit a1b47e5

Browse files
committed
To uint ... opps
1 parent 4e03470 commit a1b47e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EmberLibConsumer.net/Lawo/Threading/NativeMethods.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public static class NativeMethods
2222
//[DllImport("Kernel32.dll")]
2323
//public static extern uint GetCurrentThreadId();
2424

25-
public static int GetCurrentThreadId()
25+
public static uint GetCurrentThreadId()
2626
{
27-
return System.Threading.Thread.CurrentThread.ManagedThreadId;
27+
return Convert.ToUInt32(System.Threading.Thread.CurrentThread.ManagedThreadId);
2828
}
2929
}
3030
}

0 commit comments

Comments
 (0)