Search
j0ke.net Open Build Service
>
Projects
>
KDE
:
Qt
:
STABLE
>
libqca2
> r928413.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File r928413.diff of Package libqca2
------------------------------------------------------------------------ r928413 | mueller | 2009-02-19 15:28:51 +0100 (Do, 19. Feb 2009) | 3 lines use the public Qt api, instead of implementation internals that do not build anymore ------------------------------------------------------------------------ Index: qca-pkcs11.cpp =================================================================== --- plugins/qca-pkcs11-2.0.0-beta2/qca-pkcs11.cpp +++ plugins/qca-pkcs11-2.0.0-beta2/qca-pkcs11.cpp @@ -3041,7 +3041,7 @@ pkcs11Provider::_logHook ( // Qt vsprintf cannot can NULL for %s as vsprintf does. // QCA_logTextMessage (QString ().vsprintf (format, args), severity); char buffer[2048]; - QT_VSNPRINTF (buffer, sizeof (buffer)-1, format, args); + qvsnprintf (buffer, sizeof (buffer)-1, format, args); buffer[sizeof (buffer)-1] = '\x0'; QCA_logTextMessage (buffer, severity); //@END-WORKAROUND