Re: [Openvpn-devel] [PATCH v2] openvpnserv: Review MSVC down-casting warnings

2017-12-03 Thread Selva Nair
Hi Simon, And this one: On Mon, Nov 13, 2017 at 11:26 AM, Selva wrote: > Hi, > > Thanks for the v2 > > On Mon, Nov 13, 2017 at 4:49 AM, Simon Rozman wrote: > >> Data size arithmetic was reviewed according to 64-bit MSVC complaints. >> >> The warnings were addressed by migrating to size_t, rewr

Re: [Openvpn-devel] [PATCH v2] openvpnserv: Review MSVC down-casting warnings

2017-11-13 Thread Selva
Hi, Thanks for the v2 On Mon, Nov 13, 2017 at 4:49 AM, Simon Rozman wrote: > Data size arithmetic was reviewed according to 64-bit MSVC complaints. > > The warnings were addressed by migrating to size_t, rewriting the code, > or silencing the warnings by an explicit cast where appropriate. > --

[Openvpn-devel] [PATCH v2] openvpnserv: Review MSVC down-casting warnings

2017-11-13 Thread Simon Rozman
Data size arithmetic was reviewed according to 64-bit MSVC complaints. The warnings were addressed by migrating to size_t, rewriting the code, or silencing the warnings by an explicit cast where appropriate. --- src/openvpnserv/automatic.c | 20 src/openvpnserv/interactive.