On Thu, Jul 12, 2018 at 10:33 AM Bart Van Assche <bvanass...@acm.org> wrote:

> 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?
>
> 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.
>

I agree, and wasn't trying to suggest a change, just wanted to understand
if there was something that I was missing.

Thanks,
  Bill
------------------------------------------------------------------------------
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