Skip to content
Snippets Groups Projects
Commit 1b344974 authored by Grigorii Demidov's avatar Grigorii Demidov
Browse files

layer/iterate: avoid explicit cast

parent 67e934f9
Branches
Tags v5.3.0
1 merge request!136layer/iterate: avoid explicit cast
......@@ -23,7 +23,7 @@
/** @internal Print a debug message related to resolution. */
#define QRVERBOSE(query, cls, fmt, ...) WITH_VERBOSE { \
unsigned _ind = 0; \
struct kr_query *q = (struct kr_query *)(query); \
struct kr_query *q = (query); \
uint16_t _id = q ? q->id : 0; \
for (; q; q = q->parent, _ind += 2); \
kr_log_verbose("[%5hu][%s] %*s" fmt, _id, cls, _ind, "", ## __VA_ARGS__); \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment