SDL_net: _SDLNet_Read16: Be const-correct in unaligned code path

From 5a8eb3920d947a6bee71dda56ab3f6b5175a80e1 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Fri, 29 Oct 2021 14:16:24 +0100
Subject: [PATCH] _SDLNet_Read16: Be const-correct in unaligned code path

We only read from areap here, we don't write to it.

Signed-off-by: Simon McVittie <smcv@debian.org>
---
 SDL_net.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SDL_net.h b/SDL_net.h
index b72caaa..fd1860c 100644
--- a/SDL_net.h
+++ b/SDL_net.h
@@ -430,9 +430,9 @@ SDL_FORCE_INLINE void _SDLNet_Write32(Uint32 value, void *areap)
     area[3] =  value        & 0xFF;
 }
 
-SDL_FORCE_INLINE Uint16 _SDLNet_Read16(void *areap)
+SDL_FORCE_INLINE Uint16 _SDLNet_Read16(const void *areap)
 {
-    Uint8 *area = (Uint8*)areap;
+    const Uint8 *area = (const Uint8*)areap;
     return ((Uint16)area[0]) << 8 | ((Uint16)area[1]);
 }