summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 666fd04..bc39cfb 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -266,7 +266,7 @@ QCString generateMarker(int id)
{
const int maxMarkerStrLen = 20;
char result[maxMarkerStrLen];
- snprintf(result,maxMarkerStrLen,"@%d",id);
+ qsnprintf(result,maxMarkerStrLen,"@%d",id);
return result;
}
@@ -4916,7 +4916,7 @@ FileDef *findFileDef(const FileNameDict *fnDict,const char *n,bool &ambig)
const int maxAddrSize = 20;
char addr[maxAddrSize];
- snprintf(addr,maxAddrSize,"%p:",fnDict);
+ qsnprintf(addr,maxAddrSize,"%p:",fnDict);
QCString key = addr;
key+=n;