gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/cpp-compile, updated. gawk-4.1.0-6482-ga32f60


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/cpp-compile, updated. gawk-4.1.0-6482-ga32f604f
Date: Mon, 16 Jun 2025 21:52:47 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, feature/cpp-compile has been updated
       via  a32f604fdc41ad45a5b9596aa3bb7b9d7f6c5e45 (commit)
      from  5d12a8ebf780b88cc0c0c636b2cd52c467f99537 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=a32f604fdc41ad45a5b9596aa3bb7b9d7f6c5e45

commit a32f604fdc41ad45a5b9596aa3bb7b9d7f6c5e45
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Mon Jun 16 21:52:25 2025 -0400

    Small compile fix in array.c.

diff --git a/ChangeLog b/ChangeLog
index 1f47d4ac..564583fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2025-06-16         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * array.c (do_delete): Add a cast for MEMDEBUG case.
+
 2025-06-13         Jim Mellander         <jmellander@gmail.com>
 
        * buitin.c (do_srand): Change casts of seed values to
diff --git a/array.c b/array.c
index d6d53e04..e60e6386 100644
--- a/array.c
+++ b/array.c
@@ -652,7 +652,7 @@ do_delete(NODE *symbol, int nsubs)
                mpfr_unset(val);
 #ifdef MEMDEBUG
                memset(val, 0, sizeof(NODE));
-               val->type = 0xbaad;
+               val->type = (NODETYPE) 0xbaad;
 #endif
                freenode(val);
        } else {

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog | 4 ++++
 array.c   | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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