diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-05-11 20:03:04 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-05-18 19:01:19 +0400 |
commit | eff7392e3a9896bf8bf72483833eae698e8a55a3 (patch) | |
tree | 1c7f6b303abd4c75754ee1313ee7d6e6ad638d7d /src/filters/source/ShoutcastSource | |
parent | 332f1b6f39bed91667b4787e205248a6e87a1f6f (diff) |
Use the right field type specifier in function calls.
(/analyze warning C6340)
Diffstat (limited to 'src/filters/source/ShoutcastSource')
-rw-r--r-- | src/filters/source/ShoutcastSource/ShoutcastSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/source/ShoutcastSource/ShoutcastSource.cpp b/src/filters/source/ShoutcastSource/ShoutcastSource.cpp index 322667c6b..04df8b747 100644 --- a/src/filters/source/ShoutcastSource/ShoutcastSource.cpp +++ b/src/filters/source/ShoutcastSource/ShoutcastSource.cpp @@ -659,7 +659,7 @@ bool CShoutcastStream::CShoutcastSocket::Connect(CUrl& url) str.MakeLower();
if (str.Find("icy 200 ok") >= 0) {
fOK = true;
- } else if (1 == sscanf_s(str, "icy-br:%d", &m_bitrate)) {
+ } else if (1 == sscanf_s(str, "icy-br:%u", &m_bitrate)) {
m_bitrate *= 1000;
} else if (1 == sscanf_s(str, "icy-metaint:%d", &metaint)) {
m_metaint = metaint;
|