You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The negative number overflows uintptr from unsafe.Sizeof. Just casting it to any signed number fixes the error. Should it be a cast to int because that is usually the same size as the register like uintptr?
The text was updated successfully, but these errors were encountered:
Given this C code:
Results in this Go Code:
The negative number overflows uintptr from unsafe.Sizeof. Just casting it to any signed number fixes the error. Should it be a cast to int because that is usually the same size as the register like uintptr?
The text was updated successfully, but these errors were encountered: