Skip to content

Commit

Permalink
Fix build warning
Browse files Browse the repository at this point in the history
Replace sscanf with sscanf_s
  • Loading branch information
MSDN-WhiteKnight committed Feb 19, 2023
1 parent e21fb5f commit 5babf57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmallMediaPlayer/tags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ while(1){//read frames
i++;
StringCchCopyNA(buf,1024,&(pOutputTags[i]),packer.dword-1);
out->length=0;
sscanf(buf,"%u",&(out->length));
sscanf_s(buf,"%u",&(out->length));
i+=packer.dword-1;continue;
}
i+=packer.dword;continue;
Expand Down

0 comments on commit 5babf57

Please sign in to comment.