From 7ae94c430053c100ff33286f1070e5255c603d81 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Tue, 26 May 2020 13:46:54 +1000 Subject: [PATCH] Fix nullability of return type --- src/BizHawk.Common/PtrToStringUtf8.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BizHawk.Common/PtrToStringUtf8.cs b/src/BizHawk.Common/PtrToStringUtf8.cs index aaace19d45..37e0ff648c 100644 --- a/src/BizHawk.Common/PtrToStringUtf8.cs +++ b/src/BizHawk.Common/PtrToStringUtf8.cs @@ -5,10 +5,10 @@ namespace BizHawk.Common { public static class Mershul { - /// + /// /// TODO: Update to a version of .nyet that includes this - /// - public static unsafe string PtrToStringUtf8(IntPtr p) + /// + public static unsafe string? PtrToStringUtf8(IntPtr p) { if (p == IntPtr.Zero) return null;