[AGENT++] typedef long uint32

Jochen Katz katz at agentpp.com
Fri Jan 5 21:11:48 CET 2007


Hi (2),

> I ran into a problem when I tried to include some agent++ include files in
> an already exisiting application. We have uint32 defined as unsigned long
> whereas agent_pp/mib_entry.h uses just long. What are the implications if
> I change mib_entry.h to use unsigned long instead?

the uint32 is only used for rowStatus which can have values from 0 to 6,
so there should be no problem.

But as a "typedef long uint32" is absolutely wrong, as it is neither
unsigned nor always 32 bit, we will change it for the next release.

Regards,
  Jochen




More information about the AGENTPP mailing list