Hi,
> > index 7a2d0e3..5422d33 100644
> > --- a/src/openvpnserv/validate.c
> > +++ b/src/openvpnserv/validate.c
> > @@ -298,7 +298,7 @@ IsUserInGroup(PSID sid, const PTOKEN_GROUPS
> token_groups, const WCHAR *group_nam
> > break;
> > }
> > /* If a match is already found, ret == TRUE and the loop is
> skipped */
> > - for (int i = 0; i < nread && !ret; ++i)
> > + for (DWORD i = 0; i < nread && !ret; ++i)
>
> ... and here.
>
>
> Consider me not convinced...
>
> what exactly are the warnings MSVC spits out here?
>
I think these are needed to silence signed/unsigned comparison warnings
(== is ok, but < and > would warn). gcc also would warn if -Wextra or
-Wsign-compare is used.
Simon may have more to say.
Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel