Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Main
Synchronet
Commits
0e9e499f
Commit
0e9e499f
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
Resolve some MSVC warnings
parent
a4ad0870
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conio/bitmap_con.c
+5
-3
5 additions, 3 deletions
src/conio/bitmap_con.c
with
5 additions
and
3 deletions
src/conio/bitmap_con.c
+
5
−
3
View file @
0e9e499f
...
...
@@ -1726,7 +1726,7 @@ bitmap_double_mult_inside(int maxwidth, int maxheight)
int
bitmap_largest_mult_inside
(
int
maxwidth
,
int
maxheight
)
{
return
bitmap_double_mult_inside
(
maxwidth
,
maxheight
);
return
(
int
)
bitmap_double_mult_inside
(
maxwidth
,
maxheight
);
}
// Must be called with vstatlock
...
...
@@ -1736,8 +1736,10 @@ bitmap_get_scaled_win_size(double scale, int *w, int *h, int maxwidth, int maxhe
bool
wc
=
bitmap_width_controls
();
double
max
;
if
(
maxwidth
==
0
&&
maxheight
==
0
)
return
bitmap_get_scaled_win_size_nomax
(
scale
,
w
,
h
);
if
(
maxwidth
==
0
&&
maxheight
==
0
)
{
bitmap_get_scaled_win_size_nomax
(
scale
,
w
,
h
);
return
;
}
if
(
maxwidth
<
vstat
.
scrnwidth
)
maxwidth
=
vstat
.
scrnwidth
;
if
(
maxheight
<
vstat
.
scrnheight
)
...
...
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