Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
344b173c
Commit
344b173c
authored
14 years ago
by
Andreas Schenk
Browse files
Options
Downloads
Patches
Plain Diff
fixed handling of varargs in tiff warning handler
parent
88d76a0b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/io/src/img/tiff_util.cc
+2
-2
2 additions, 2 deletions
modules/io/src/img/tiff_util.cc
with
2 additions
and
2 deletions
modules/io/src/img/tiff_util.cc
+
2
−
2
View file @
344b173c
...
...
@@ -34,9 +34,9 @@ void tiff_warning_handler(const char *mod, const char* fmt, va_list ap)
{
static
char
message
[
1024
];
#ifdef _MSC_VER
_snprintf
(
message
,
1024
,
fmt
,
ap
);
_
v
snprintf
(
message
,
1024
,
fmt
,
ap
);
#else
snprintf
(
message
,
1024
,
fmt
,
ap
);
v
snprintf
(
message
,
1024
,
fmt
,
ap
);
#endif
LOG_INFO
(
mod
<<
": "
<<
message
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment