Explorar o código

fix: build error

Signed-off-by: huhui <huhui@sharkgulf.com>
huhui %!s(int64=4) %!d(string=hai) anos
pai
achega
4b4ddcb3c9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Application/app/sox/soc.c

+ 1 - 1
Application/app/sox/soc.c

@@ -236,7 +236,7 @@ static __inline__ float _delta_time(void){
 
 static __inline__ int can_modify_min_cap(void){
 	if (force_full_ts == 0) {
-		return;
+		return 0;
 	}
 	if (shark_get_seconds() > force_full_ts){
 		if ((shark_get_seconds() - force_full_ts) > MAX_TIME_FULL_TO_EMPTY) {