From e50ee3a5418009ebe1ac6f0b257beb57b73db4a2 Mon Sep 17 00:00:00 2001 From: Stanislav Denisov Date: Thu, 30 Apr 2020 20:34:55 +0500 Subject: [PATCH] Fix alignment of the configuration data string --- ValveSockets.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ValveSockets.cs b/ValveSockets.cs index 8f00f01..afd5c8b 100644 --- a/ValveSockets.cs +++ b/ValveSockets.cs @@ -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; }