mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Updated Windows application to support new desktop action framework. Updated project to build with Visual Studio 2005.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3511 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -27,7 +27,7 @@ using namespace Alfresco;
|
||||
*/
|
||||
String Integer::toHexString( const unsigned int ival) {
|
||||
char buf[32];
|
||||
itoa(ival, buf, 16);
|
||||
_itoa(ival, buf, 16);
|
||||
return String(buf);
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ String Integer::toHexString( BUFPTR ptr) {
|
||||
*/
|
||||
String Integer::toString( unsigned int ival, unsigned int radix) {
|
||||
char buf[32];
|
||||
itoa(ival, buf, radix);
|
||||
_itoa(ival, buf, radix);
|
||||
return String(buf);
|
||||
}
|
||||
|
||||
|
@@ -695,7 +695,7 @@ void String::append (const String& str) {
|
||||
*/
|
||||
void String::append (const unsigned int ival) {
|
||||
wchar_t buf[32];
|
||||
swprintf( buf, L"%u", ival);
|
||||
swprintf( buf, 32, L"%u", ival);
|
||||
|
||||
m_string += buf;
|
||||
}
|
||||
@@ -707,7 +707,7 @@ void String::append (const unsigned int ival) {
|
||||
*/
|
||||
void String::append (const unsigned long lval) {
|
||||
wchar_t buf[32];
|
||||
swprintf( buf, L"%lu", lval);
|
||||
swprintf( buf, 32, L"%lu", lval);
|
||||
|
||||
m_string += buf;
|
||||
}
|
||||
@@ -719,7 +719,7 @@ void String::append (const unsigned long lval) {
|
||||
*/
|
||||
void String::append (const LONG64 l64val) {
|
||||
wchar_t buf[32];
|
||||
swprintf( buf, L"%I64u", l64val);
|
||||
swprintf( buf, 32, L"%I64u", l64val);
|
||||
|
||||
m_string += buf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user