[prev in list] [next in list] [prev in thread] [next in thread]
List: licq-cvs
Subject: [Licq-cvs] licq/src
From: Jon Keating <emostar () users ! sourceforge ! net>
Date: 2003-01-21 16:58:36
[Download RAW message or body]
Update of /cvsroot/licq/licq/src
In directory sc8-pr-cvs1:/tmp/cvs-serv10409
Modified Files:
message.cpp
Log Message:
Improper unsigned -> signed conversion fix by glee AT gnupilgrims.org
Index: message.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/message.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- message.cpp 21 Jan 2003 02:00:34 -0000 1.15
+++ message.cpp 21 Jan 2003 16:58:31 -0000 1.16
@@ -203,7 +203,7 @@
{
if (m_szText) delete [] m_szText;
m_szText = new char[strlen(m_szFilename) + strlen(m_szFileDescription) + 64];
- sprintf(m_szText, "File: %s (%ld bytes)\nDescription:\n%s\n", m_szFilename,
+ sprintf(m_szText, "File: %s (%lu bytes)\nDescription:\n%s\n", m_szFilename,
m_nFileSize, m_szFileDescription);
}
@@ -219,7 +219,7 @@
char *szOut = new char[(strlen(m_szFilename) + strlen(m_szFileDescription)) * 2 + \
16 + EVENT_HEADER_SIZE]; int nPos = AddToHistory_Header(_nDir, szOut);
nPos += sprintf(&szOut[nPos], ":%s\n", m_szFilename);
- nPos += sprintf(&szOut[nPos], ":%ld\n", m_nFileSize);
+ nPos += sprintf(&szOut[nPos], ":%lu\n", m_nFileSize);
AddStrWithColons(&szOut[nPos], m_szFileDescription);
AddToHistory_Flush(u, szOut);
delete [] szOut;
-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Licq-cvs mailing list
Licq-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/licq-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic