From: Bruno Haible Date: Mon, 12 May 2025 11:22:06 +0000 (+0200) Subject: obstack: Fix compilation error on MSVC (regression 2025-05-07). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7810929b1d35f1edcc0945df880adf6a6566602;p=thirdparty%2Fgnulib.git obstack: Fix compilation error on MSVC (regression 2025-05-07). * lib/obstack.in.h (obstack_free): Fix typo. --- diff --git a/ChangeLog b/ChangeLog index 58c3dae668..9d782ca0d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-05-12 Bruno Haible + + obstack: Fix compilation error on MSVC (regression 2025-05-07). + * lib/obstack.in.h (obstack_free): Fix typo. + 2025-05-12 Bruno Haible doc: Update for a few recently fixed Hurd bugs. diff --git a/lib/obstack.in.h b/lib/obstack.in.h index 698b6b37a7..91a5e444c9 100644 --- a/lib/obstack.in.h +++ b/lib/obstack.in.h @@ -590,7 +590,7 @@ extern int obstack_exit_failure; # define obstack_free(h, obj) \ ((h)->temp.tempptr = (void *) (obj), \ - (((_OBSTACK_CPTR) (h)->chunk < (OBSTACK_CPTR) (h)->temp.tempptr \ + (((_OBSTACK_CPTR) (h)->chunk < (_OBSTACK_CPTR) (h)->temp.tempptr \ && (_OBSTACK_CPTR) (h)->temp.tempptr < (_OBSTACK_CPTR) (h)->chunk_limit) \ ? (void) ((h)->next_free = (h)->object_base = (char *) (h)->temp.tempptr) \ : __obstack_free (h, (h)->temp.tempptr)))