Skip to content

Commit

Permalink
Refine comment of CAST_THRU_UINTPTR
Browse files Browse the repository at this point in the history
(fix of commit 6040089)

Issue #627 (bdwgc).

* include/private/gc_priv.h (CAST_THRU_UINTPTR): Refine comment.
  • Loading branch information
ivmai committed Nov 1, 2024
1 parent 1b04347 commit c47e222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/private/gc_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ typedef struct hblkhdr hdr;

#include "gc/gc_inline.h"

/* Prevent certain compiler warnings by making a cast through */
/* a pointer-sized numeric type. */
/* Prevent certain compiler warnings by making a pointer-related */
/* cast through a pointer-sized numeric type. */
#define CAST_THRU_UINTPTR(t, x) ((t)(GC_uintptr_t)(x))

#define CAST_AWAY_VOLATILE_PVOID(p) \
Expand Down

0 comments on commit c47e222

Please sign in to comment.