void-packages/srcpkgs/pipenightdreams/patches/fix-new.patch
2015-10-09 13:08:04 +02:00

11 lines
294 B
Diff

--- src/hash.cpp 2015-10-09 12:01:04.628050936 +0200
+++ src/hash.cpp 2015-10-09 12:02:04.248055234 +0200
@@ -58,7 +58,7 @@
Hash::Hash(int bs){
int i;
nbuckets=bs;
- lbuckets=new (List *)[nbuckets];
+ lbuckets=new List* [nbuckets];
for (i=0;i<nbuckets;i++)
lbuckets[i]=new List();