mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Fix build with GCC 3.4.2.
Submitted by: Sean McNeil <sean@mcneil.com>
This commit is contained in:
parent
0c879c6c94
commit
09d20a2776
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115544
@ -0,0 +1,11 @@
|
||||
--- gnome-cups-add/snmpkit/snmpkit_interface.C.orig Fri Aug 6 23:58:14 2004
|
||||
+++ gnome-cups-add/snmpkit/snmpkit_interface.C Fri Aug 6 23:58:36 2004
|
||||
@@ -508,7 +508,7 @@
|
||||
void **sk_table_get(SNMPTABLE *st){
|
||||
std::list<void*> vals;
|
||||
from_c(st)->get(vals);
|
||||
- void **retval=new (void*)[vals.size()+1];
|
||||
+ void **retval=new void* [vals.size()+1];
|
||||
retval[vals.size()]=NULL;
|
||||
int i=0;
|
||||
for(std::list<void*>::iterator cur=vals.begin();cur!=vals.end();cur++,i++)
|
Loading…
Reference in New Issue
Block a user