Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
581598f8
Commit
581598f8
authored
Oct 03, 2014
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows: use the proper format specifier for DWORD
Change-Id: If655342a6a7de4ee5fe176eda0b54cf0def6d491
parent
1980a374
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Common/Core/vtkWin32ProcessOutputWindow.cxx
Common/Core/vtkWin32ProcessOutputWindow.cxx
+9
-1
No files found.
Common/Core/vtkWin32ProcessOutputWindow.cxx
View file @
581598f8
...
...
@@ -26,6 +26,14 @@
# define _MAX_PATH 4096
#endif
#ifndef PRIdword
#if _LP64
#define PRIdword "u"
#else
#define PRIdword "lu"
#endif
#endif
vtkStandardNewMacro
(
vtkWin32ProcessOutputWindow
);
extern
"C"
int
vtkEncodedArrayWin32OutputWindowProcessWrite
(
const
char
*
fname
);
...
...
@@ -87,7 +95,7 @@ int vtkWin32ProcessOutputWindow::Initialize()
// Construct the executable name from the process id, pointer to
// this output window instance, and a count. This should be unique.
sprintf
(
exeName
,
"vtkWin32OWP_%
u
_%p_%u.exe"
,
sprintf
(
exeName
,
"vtkWin32OWP_%
"
PRIdword
"
_%p_%u.exe"
,
GetCurrentProcessId
(),
this
,
this
->
Count
++
);
// Allocate a buffer to hold the executable path.
...
...
Write
Preview
Markdown
is supported
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