Fixed signed compare error

This commit is contained in:
2026-03-06 10:49:59 -06:00
parent 0c69151528
commit a211d03d71

View File

@@ -40,9 +40,7 @@ extern DWORD except_index;
extern void except_init(void); extern void except_init(void);
extern void except_push(Except_Frame *fp); extern void except_push(Except_Frame *fp);
extern void except_pop(void); extern void except_pop(void);
#endif
#ifdef WIN32
#define RAISE(e) except_raise(&(e), __FILE__, __LINE__) #define RAISE(e) except_raise(&(e), __FILE__, __LINE__)
#define RERAISE except_raise(except_frame.exception, \ #define RERAISE except_raise(except_frame.exception, \
except_frame.file, except_frame.line) except_frame.file, except_frame.line)
@@ -50,7 +48,7 @@ extern void except_pop(void);
#define TRY do { \ #define TRY do { \
volatile int except_flag; \ volatile int except_flag; \
Except_Frame except_frame; \ Except_Frame except_frame; \
if (except_index == -1) \ if (except_index == TLS_OUT_OF_INDEXES) \
except_init(); \ except_init(); \
except_push(&except_frame); \ except_push(&except_frame); \
except_flag = setjmp(except_frame.env); \ except_flag = setjmp(except_frame.env); \