Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
55925cab
"README.md" did not exist on "9f5ecdcd9c8b9f47824c9f56a212d0eea629e05c"
Commit
55925cab
authored
8 years ago
by
Alam Ed Arias
Browse files
Options
Downloads
Patches
Plain Diff
win32: fixup printf warnings
parent
fca88d2e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!252
OpenGL: Public flatsprite: The Fixening
,
!154
Disable gettext
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/win32/win_cd.c
+2
-2
2 additions, 2 deletions
src/win32/win_cd.c
src/win32/win_main.c
+1
-1
1 addition, 1 deletion
src/win32/win_main.c
with
3 additions
and
3 deletions
src/win32/win_cd.c
+
2
−
2
View file @
55925cab
...
...
@@ -180,9 +180,9 @@ static LPSTR hms(UINT seconds)
hours
=
minutes
/
60
;
minutes
%=
60
;
if
(
hours
>
0
)
sprintf
(
s
,
"%lu:%02lu:%02lu"
,
hours
,
minutes
,
seconds
);
sprintf
(
s
,
"%lu:%02lu:%02lu"
,
(
long
unsigned
int
)
hours
,
(
long
unsigned
int
)
minutes
,
(
long
unsigned
int
)
seconds
);
else
sprintf
(
s
,
"%2lu:%02lu"
,
minutes
,
seconds
);
sprintf
(
s
,
"%2lu:%02lu"
,
(
long
unsigned
int
)
minutes
,
(
long
unsigned
int
)
seconds
);
return
s
;
}
...
...
This diff is collapsed.
Click to expand it.
src/win32/win_main.c
+
1
−
1
View file @
55925cab
...
...
@@ -470,7 +470,7 @@ static inline BOOL tlErrorMessage(const TCHAR *err)
//
// warn user if there is one
//
printf
(
"Error %
T
s..
\n
"
,
err
);
printf
(
"Error %s..
\n
"
,
err
);
fflush
(
stdout
);
MessageBox
(
hWndMain
,
err
,
TEXT
(
"ERROR"
),
MB_OK
);
...
...
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