Josh Coalson
2009-01-03 01:55:17 +00:00
parent d75a07c968
commit 75e6cabe05
3 changed files with 7 additions and 6 deletions

View File

@@ -159,7 +159,7 @@ static Uint32_t B [12000];
/* for each filter:
[0] 48 kHz, [1] 44.1 kHz, [2] 32 kHz, [3] 24 kHz, [4] 22050 Hz, [5] 16 kHz, [6] 12 kHz, [7] is 11025 Hz, [8] 8 kHz */
#ifdef WIN32
#ifdef _MSC_VER
#pragma warning ( disable : 4305 )
#endif
@@ -211,7 +211,7 @@ static const Float_t BButter [9] [3] = {
{ 0.94597685600279, -1.89195371200558, 0.94597685600279 }
};
#ifdef WIN32
#ifdef _MSC_VER
#pragma warning ( default : 4305 )
#endif

View File

@@ -155,7 +155,7 @@ int utf8_encode(const char *from, char **to)
if(wchars == 0)
{
fprintf(stderr, "Unicode translation error %d\n", GetLastError());
fprintf(stderr, "Unicode translation error %d\n", (int)GetLastError());
return -1;
}
@@ -174,7 +174,7 @@ int utf8_encode(const char *from, char **to)
if(err != wchars)
{
free(unicode);
fprintf(stderr, "Unicode translation error %d\n", GetLastError());
fprintf(stderr, "Unicode translation error %d\n", (int)GetLastError());
return -1;
}
@@ -210,7 +210,7 @@ int utf8_decode(const char *from, char **to)
if(chars == 0)
{
fprintf(stderr, "Unicode translation error %d\n", GetLastError());
fprintf(stderr, "Unicode translation error %d\n", (int)GetLastError());
free(unicode);
return -1;
}
@@ -227,7 +227,7 @@ int utf8_decode(const char *from, char **to)
-1, *to, chars, NULL, NULL);
if(err != chars)
{
fprintf(stderr, "Unicode translation error %d\n", GetLastError());
fprintf(stderr, "Unicode translation error %d\n", (int)GetLastError());
free(unicode);
free(*to);
*to = NULL;