X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Tue, 6 Sep 2016 05:37:48 +0200 (CEST) X-X-Sender: igor2 AT igor2priv To: geda-user AT delorie DOT com X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: [geda-user] pcb bugreport: ID type Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Reply-To: geda-user AT delorie DOT com Hi all, in the 20140316 release of mainline this bug is still present: ANYOBJECTFIELDS has the ID field as long int, but create.c counts IDs of new objects in an int. (This won't cause problems on the usual systems (with >=32 bit ints), but the C standard permits int to be 16 bits wide in which case create.c would start reusing IDs after 32767 objects. In the same time there seems to be no drawback using long int in create.c) I propose using long int ID in create.c. Fixed in pcb-rnd in r2938. Regards, Igor2