On 07/12/18 04:59, Bill Fenner wrote:
> I see that when it's a souce, you use "const char *", and when it's a
> destination, you use "unsigned char *".  I understand the reason for the
> constness difference, but is there a reason for the signedness difference?

Hello Bill,

There is no particular reason for this difference. It would be more
consistent to have used signed char or unsigned char in all cases.
Anyway, changing signedness wouldn't affect the behavior of the code.

Bart.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to