1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix build warnings

This commit is contained in:
winlin 2021-01-08 11:48:56 +08:00
parent 473942c6f6
commit 61f62ceec6
3 changed files with 5 additions and 5 deletions

View file

@ -2440,7 +2440,7 @@ VOID TEST(KernelUtility, Base64)
{"Twas brillig, and the slithy toves", "VHdhcyBicmlsbGlnLCBhbmQgdGhlIHNsaXRoeSB0b3Zlcw=="}
};
for(int i = 0; i < (sizeof(data) / sizeof(struct testpair)); ++i) {
for(int i = 0; i < (int)(sizeof(data) / sizeof(struct testpair)); ++i) {
struct testpair& d = data[i];
string cipher;
HELPER_EXPECT_SUCCESS(srs_av_base64_encode(d.decoded, cipher));