mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-20 07:12:21 +08:00
优化代码
除1024改成右移10位
This commit is contained in:
@@ -84,7 +84,7 @@ static bool loadFile(const char *path){
|
||||
}
|
||||
timeStamp_last = timeStamp;
|
||||
}
|
||||
WarnL << total_size / 1024 << "KB";
|
||||
WarnL << (total_size >> 10) << "KB";
|
||||
fclose(fp);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user