diff options
| author | jhurst <jhurst@cinecert.com> | 2006-01-06 07:19:32 +0000 |
|---|---|---|
| committer | jhurst <> | 2006-01-06 07:19:32 +0000 |
| commit | 6e23666cb6184999efc74577cfb1b524181ba5df (patch) | |
| tree | 0400f487b37da3e263f93af8afcfacb318d24087 /src/AS_DCP.cpp | |
| parent | a526fabf937848823b02d5486a6ec38f8442bb1c (diff) | |
bugfix in indexing
Diffstat (limited to 'src/AS_DCP.cpp')
| -rwxr-xr-x | src/AS_DCP.cpp | 2 |
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; } |
