From 065c8e715d15236d5f6d2ae721f968e131a2bbd9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 24 Nov 2023 12:35:58 -0600 Subject: [PATCH] Fix signedness of server name check (#697) --- aioesphomeapi/_frame_helper/noise.pxd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aioesphomeapi/_frame_helper/noise.pxd b/aioesphomeapi/_frame_helper/noise.pxd index cd694ff..776da52 100644 --- a/aioesphomeapi/_frame_helper/noise.pxd +++ b/aioesphomeapi/_frame_helper/noise.pxd @@ -40,7 +40,7 @@ cdef class APINoiseFrameHelper(APIFrameHelper): @cython.locals( chosen_proto=char, - server_name_i="unsigned int" + server_name_i=int ) cdef _handle_hello(self, bytes server_hello)