From 6e23666cb6184999efc74577cfb1b524181ba5df Mon Sep 17 00:00:00 2001 From: jhurst Date: Fri, 6 Jan 2006 07:19:32 +0000 Subject: bugfix in indexing --- src/AS_DCP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/AS_DCP.cpp') 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; } -- cgit v1.2.3