aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_String.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2013-02-28 21:47:48 +0100
committerJay Berkenbilt <ejb@ql.org>2013-03-05 19:33:32 +0100
commit6b9297882e0106b5c0af53320673d6341b9bea91 (patch)
tree486ef480b4d16a3df7c37569a6dcd62ed29b9dbe /libqpdf/QPDF_String.cc
parent8be827761347b7a0a4ce6e7bdfa6fd4585606b21 (diff)
downloadqpdf-6b9297882e0106b5c0af53320673d6341b9bea91.tar.zst
Mark secure CRT warnings with comment
Put a specific comment marker next to every piece of code that MSVC gives warning 4996 for. This warning is generated for calls to functions that Microsoft considers insecure or deprecated. This change is in preparation for fixing all these cases even though none of them are actually incorrect or insecure as used in qpdf. The comment marker makes them easier to find so they can be fixed in subsequent commits.
Diffstat (limited to 'libqpdf/QPDF_String.cc')
-rw-r--r--libqpdf/QPDF_String.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_String.cc b/libqpdf/QPDF_String.cc
index db6fb2f5..b4d6b630 100644
--- a/libqpdf/QPDF_String.cc
+++ b/libqpdf/QPDF_String.cc
@@ -140,7 +140,7 @@ QPDF_String::unparse(bool force_binary)
}
else
{
- sprintf(num, "\\%03o", static_cast<unsigned char>(ch));
+ sprintf(num, "\\%03o", static_cast<unsigned char>(ch)); // XXXX
result += num;
}
break;