diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-25 10:04:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-25 10:04:08 +0000 |
commit | 9ff92d1cc83e39859891a65f5ada186806cef133 (patch) | |
tree | 79d3f3a35995fe7a4a12577569346331fe71d117 /include | |
parent | 77cc30f66c53cd638eb73bb92340c9144114e07a (diff) |
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6224 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_protomod.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_protomod.h b/include/m_protomod.h index 3e28b55591..4f1ef4697d 100644 --- a/include/m_protomod.h +++ b/include/m_protomod.h @@ -69,7 +69,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. __forceinline HANDLE CreateProtoServiceFunction(const char *szModule, const char *szService, MIRANDASERVICE serviceProc)
{
char str[MAXMODULELABELLENGTH];
- _snprintf(str, sizeof(str), "%s%s", szModule, szService);
+ mir_snprintf(str, sizeof(str), "%s%s", szModule, szService);
str[MAXMODULELABELLENGTH-1] = 0;
return CreateServiceFunction(str, serviceProc);
}
|