소스 검색

thread/windows: fix stack overflow in exception naming

(cherry picked from commit 1a853973ab83ba72d22b39d871114dc22f8e3ed4)
Paper 6 달 전
부모
커밋
6421f12d7f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/thread/windows/SDL_systhread.c

+ 1 - 1
src/thread/windows/SDL_systhread.c

@@ -159,7 +159,7 @@ void SDL_SYS_SetupThread(const char *name)
             inf.dwFlags = 0;
 
             /* The debugger catches this, renames the thread, continues on. */
-            RaiseException(0x406D1388, 0, sizeof(inf) / sizeof(ULONG), (const ULONG_PTR *)&inf);
+            RaiseException(0x406D1388, 0, sizeof(inf) / sizeof(ULONG_PTR), (const ULONG_PTR *)&inf);
         }
     }
 }