Skip to content

Commit

Permalink
static_cast rather than C cast ().
Browse files Browse the repository at this point in the history
  • Loading branch information
edeiana committed Oct 15, 2024
1 parent 2bc0b60 commit 7efcd31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/drcachesim/common/trace_entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ typedef enum {
} trace_marker_type_t;

// As documented in TRACE_MARKER_TYPE_CPU_ID, this value indicates an unknown CPU.
#define INVALID_CPU_MARKER_VALUE ((uintptr_t) - 1)
#define INVALID_CPU_MARKER_VALUE static_cast<uintptr_t>(-1)

/** Constants related to function or system call parameter tracing. */
enum class func_trace_t : uint64_t { // VS2019 won't infer 64-bit with "enum {".
Expand Down

0 comments on commit 7efcd31

Please sign in to comment.