poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[COMMITTED] pkl: trans: fix size of functions stack


From: Mohammad-Reza Nabipoor
Subject: [COMMITTED] pkl: trans: fix size of functions stack
Date: Thu, 14 Jul 2022 00:01:39 +0430

---
 libpoke/pkl-trans.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libpoke/pkl-trans.h b/libpoke/pkl-trans.h
index 65a68bff..8d3b1f6f 100644
--- a/libpoke/pkl-trans.h
+++ b/libpoke/pkl-trans.h
@@ -78,7 +78,7 @@ struct pkl_trans_payload
 {
   int errors;
   int add_frames;
-  struct pkl_trans_function_ctx functions[PKL_TRANS_MAX_ENDIAN];
+  struct pkl_trans_function_ctx functions[PKL_TRANS_MAX_FUNCTION_NEST];
   int next_function;
   enum pkl_ast_endian endian[PKL_TRANS_MAX_ENDIAN];
   int cur_endian;
-- 
2.36.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]