summaryrefslogtreecommitdiff
path: root/src/AS_DCP.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/AS_DCP.cpp')
-rwxr-xr-xsrc/AS_DCP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AS_DCP.cpp b/src/AS_DCP.cpp
index 4b5acd6..a5187d6 100755
--- a/src/AS_DCP.cpp
+++ b/src/AS_DCP.cpp
@@ -173,7 +173,7 @@ const char*
ASDCP::Version()
{
static char ver[16];
- sprintf(ver, "%lu.%lu.%lu", VERSION_MAJOR, VERSION_APIMINOR, VERSION_IMPMINOR);
+ snprintf(ver, 16, "%lu.%lu.%lu", VERSION_MAJOR, VERSION_APIMINOR, VERSION_IMPMINOR);
return ver;
}