Commit 69586534 authored by Steve Lhomme's avatar Steve Lhomme

Core-C: support the MSVC style 64 bits integer display in the internal vsprintf

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/foundation_src@354 a6f86f6d-0131-4f8e-9e7b-e335508773d5
parent 4471e87e
......@@ -222,7 +222,6 @@ void vstprintf_s(tchar_t* Out,size_t OutLen,const tchar_t* Mask,va_list Arg)
const tchar_t *In;
const char *InA;
size_t n;
bool_t Long;
int64_t lvs,_lvs;
while (OutLen>1 && *Mask)
......@@ -273,12 +272,11 @@ void vstprintf_s(tchar_t* Out,size_t OutLen,const tchar_t* Mask,va_list Arg)
Width = va_arg(Arg,int);
}
Long = 0;
while (*Mask == 'l')
{
Long++;
++Mask;
}
++Mask; // long
if (*Mask=='I' && *(Mask+1)=='6' && *(Mask+2)=='4')
Mask += 3;
Unsigned = *Mask=='u';
if (Unsigned)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment