cache/entry_rr: fixed undefined behavior
Compare changes
Files
2+ 4
− 4
@@ -21,7 +21,7 @@
@@ -47,12 +47,12 @@ int rdataset_dematerialize(const knot_rdataset_t *rds, void * restrict data)
Self sign-up has been disabled due to increased spam activity. If you want to get access, please send an email to a project owner (preferred) or at gitlab(at)nic(dot)cz. We apologize for the inconvenience.
Pointer arithmetic with 'void *' is undefined, it only works as GNU extension.