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:
parent
473942c6f6
commit
61f62ceec6
3 changed files with 5 additions and 5 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue