Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
VACore
Commits
974d427e
Commit
974d427e
authored
Feb 03, 2017
by
Jonas Stienen
Browse files
Converting secure sprintfs to normal ones.
parent
18b56a32
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Data/VAHRIRDatasetDAFF2D.cpp
View file @
974d427e
...
...
@@ -162,7 +162,7 @@ std::string CVAHRIRDatasetDAFF2D::GetName() const {
std
::
string
CVAHRIRDatasetDAFF2D
::
GetDesc
()
const
{
char
buf
[
1024
];
sprintf
_s
(
buf
,
"DAFF, 2D, %s, discrete %0.0fx%0.0f, %d taps"
,
sprintf
(
buf
,
"DAFF, 2D, %s, discrete %0.0fx%0.0f, %d taps"
,
(
m_oProps
.
bFullSphere
?
"full sphere"
:
"partial sphere"
),
m_pContent
->
getProperties
()
->
getAlphaResolution
(),
m_pContent
->
getProperties
()
->
getBetaResolution
(),
...
...
src/Motion/VASampleAndHoldMotionModel.h
View file @
974d427e
...
...
@@ -34,10 +34,10 @@ public:
CVASampleAndHoldMotionModel
()
:
m_pLastState
(
nullptr
),
m_dStartTime
(
0
)
{
char
buf1
[
255
];
sprintf
_s
(
buf1
,
"SampleAndHoldMotionModel_Estimation_0x%08Xh.log"
,
this
);
sprintf
(
buf1
,
"SampleAndHoldMotionModel_Estimation_0x%08Xh.log"
,
this
);
m_oEstimationDataLog
.
setOutputFile
(
buf1
);
char
buf2
[
255
];
sprintf
_s
(
buf2
,
"SampleAndHoldMotionModel_Input_0x%08Xh.log"
,
this
);
sprintf
(
buf2
,
"SampleAndHoldMotionModel_Input_0x%08Xh.log"
,
this
);
m_oInputDataLog
.
setOutputFile
(
buf2
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment