jiapeng 8 years ago
parent
commit
279648f2c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jfwUtil/src/main/java/org/jfw/util/auth/AuthUtil.java

+ 1 - 1
jfwUtil/src/main/java/org/jfw/util/auth/AuthUtil.java

@ -46,7 +46,7 @@ public final class AuthUtil {
46 46
		int[] ret = new int[16];
47 47
		int ina = 0;
48 48
		int max = auths.length*32;
49
		for(int i = 1 ; i <= max;){
49
		for(int i =1 ; i < max;++i){
50 50
			int bIndex = i >> 5;
51 51
			int ind = i % 32;
52 52
			if( 0 != (auths[bIndex] & AUTH_BIT[ind])){