Re: [PATCH 5/9] snmplib/transports: Unbreak the MSVC build

Bill Fenner <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CAF4Soga+J=Tiks9dPsw2aNv+jpNKgjGA0hksYd4WdKQnnJCXzw@mail.gmail.com>
On Thu, Jul 12, 2018 at 10:33 AM Bart Van Assche <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.