* Fix a compiler warning when making 64-bit binaries.

This commit is contained in:
Justin Maggard 2011-04-21 08:05:38 +00:00
parent b7f69e2e8e
commit 5c7cf70e02

View File

@ -280,10 +280,10 @@ _asf_load_string(FILE *fp, int type, int size, char *buf, int len)
case ASF_VT_QWORD:
if(size >= 8)
{
#if __WORDSIZE == 64
i = snprintf(buf, len, "%ld", le64_to_cpu(*(__s64*)&data[0]));
#else
wd64 = (__s64 *) &data[0];
#if __WORDSIZE == 64
i = snprintf(buf, len, "%ld", le64_to_cpu(*wd64));
#else
i = snprintf(buf, len, "%lld", le64_to_cpu(*wd64));
#endif
}