summaryrefslogtreecommitdiff
path: root/pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch')
-rw-r--r--pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch b/pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch
index 45c75c99..9aa7153a 100644
--- a/pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch
+++ b/pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch
@@ -1,4 +1,4 @@
-From 832067946e71d1d09e47beb328c70f56c097adeb Mon Sep 17 00:00:00 2001
+From 31b2b7afa23a282fb9c960651571802d5779ac6b Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sun, 16 Jun 2019 23:17:47 -0700
Subject: [PATCH] Avoid pointer arithmetic on `void *`
@@ -162,10 +162,10 @@ index 8d7ee137..3ee98648 100644
/** MAX 2**x exponent of alloced chunks, for 1Mbytes. The smallest
* chunk is 16bytes (8preamble+8data), so 0-3 is unused. */
diff --git a/xfrd.c b/xfrd.c
-index c2eeff8a..2d261089 100644
+index 48339c54..e90dc4f9 100644
--- a/xfrd.c
+++ b/xfrd.c
-@@ -2455,7 +2455,7 @@ static void
+@@ -2463,7 +2463,7 @@ static void
xfrd_process_stat_info_task(xfrd_state_type* xfrd, struct task_list_d* task)
{
size_t i;
@@ -175,5 +175,5 @@ index c2eeff8a..2d261089 100644
for(i=0; i<xfrd->nsd->child_count; i++) {
xfrd->nsd->children[i].query_count += *p++;
--
-2.20.1
+2.22.0