Skip to content

Commit

Permalink
Fix alignment of the configuration data string
Browse files Browse the repository at this point in the history
  • Loading branch information
nxrighthere authored Apr 30, 2020
1 parent 4b66278 commit e50ee3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ValveSockets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public struct ConfigurationData {
[FieldOffset(0)]
public float Float;
[FieldOffset(0)]
public string String;
public IntPtr String;
[FieldOffset(0)]
public IntPtr FunctionPtr;
}
Expand Down

0 comments on commit e50ee3a

Please sign in to comment.