summaryrefslogtreecommitdiff
path: root/src/AS_DCP.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2006-01-06 07:19:32 +0000
committerjhurst <>2006-01-06 07:19:32 +0000
commit6e23666cb6184999efc74577cfb1b524181ba5df (patch)
tree0400f487b37da3e263f93af8afcfacb318d24087 /src/AS_DCP.cpp
parenta526fabf937848823b02d5486a6ec38f8442bb1c (diff)
bugfix in indexing
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;
}