base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / sp / spooles / transform.patch
blob3be3babe9d6571c54799a71956e4807d56797c5b
1 From c5d0574182d76af3bf286dce0bb147ae3f098916 Mon Sep 17 00:00:00 2001
2 From: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com>
3 Date: Tue, 28 Nov 2023 12:57:18 +0000
4 Subject: [PATCH] fix compiler error: use zero, not NULL, in calls to IVinit
6 ---
7 ETree/src/transform.c | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
10 diff --git a/ETree/src/transform.c b/ETree/src/transform.c
11 index 1e36981..dbdfc70 100644
12 --- a/ETree/src/transform.c
13 +++ b/ETree/src/transform.c
14 @@ -291,7 +291,7 @@ etree2 = ETree_compress(etree, mapIV) ;
15 remap the nzeros[] vector
16 -------------------------
18 -temp = IVinit(nfront, NULL) ;
19 +temp = IVinit(nfront, 0) ;
20 IVcopy(nfront, temp, nzeros) ;
21 IV_setSize(nzerosIV, nnew) ;
22 nzeros = IV_entries(nzerosIV) ;
23 @@ -453,7 +453,7 @@ etree2 = ETree_compress(etree, mapIV) ;
24 remap the nzeros[] vector
25 -------------------------
27 -temp = IVinit(nfront, NULL) ;
28 +temp = IVinit(nfront, 0) ;
29 IVcopy(nfront, temp, nzeros) ;
30 IV_setSize(nzerosIV, nnew) ;
31 nzeros = IV_entries(nzerosIV) ;
32 @@ -614,7 +614,7 @@ etree2 = ETree_compress(etree, mapIV) ;
33 remap the nzeros[] vector
34 -------------------------
36 -temp = IVinit(nfront, NULL) ;
37 +temp = IVinit(nfront, 0) ;
38 IVcopy(nfront, temp, nzeros) ;
39 IV_setSize(nzerosIV, nnew) ;
40 nzeros = IV_entries(nzerosIV) ;
41 --
42 2.42.0