Data is int, not int*
authoraland <aland>
Tue, 10 Dec 2002 15:34:06 +0000 (15:34 +0000)
committeraland <aland>
Tue, 10 Dec 2002 15:34:06 +0000 (15:34 +0000)
src/modules/rlm_perl/rlm_perl.c

index 6d013a0..3554b90 100644 (file)
@@ -169,7 +169,7 @@ static XS(XS_radiusd_radlog)
        int     level;
        char    *msg;
        
-       level = *(int *) SvIV(ST(0));
+       level = (int) SvIV(ST(0));
        msg   = (char *) SvPV(ST(1), PL_na);
        
        /*