• Kir Kolyshkin's avatar
    groups.c test: fix for clang · 21c46753
    Kir Kolyshkin authored
    clang complains:
    > clang -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -iquote ../lib/arch/x86/include -I../lib   groups.c ../lib/libzdtmtst.a ../lib/libzdtmtst.a -o groups
    > groups.c:22:9: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
    >         if (ng < 0) {
    >             ~~ ^ ~
    
    Declare ng as int.
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    21c46753
Name
Last commit
Last update
..
lib Loading commit data...
static Loading commit data...
transition Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
Makefile.inc Loading commit data...