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
744cf3ec
Commit
744cf3ec
authored
3 months ago
by
Deucе
Browse files
Options
Downloads
Patches
Plain Diff
It appears MSVC doesn't support the 25-year-old standard restrict qualifier
parent
28ac1016
No related branches found
No related tags found
No related merge requests found
Pipeline
#7985
passed
3 months ago
Stage: build
Stage: test
Stage: cleanup
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conio/bitmap_con.c
+2
-2
2 additions, 2 deletions
src/conio/bitmap_con.c
with
2 additions
and
2 deletions
src/conio/bitmap_con.c
+
2
−
2
View file @
744cf3ec
...
...
@@ -577,13 +577,13 @@ struct blockstate {
};
static
bool
can_cheat
(
struct
blockstate
*
restrict
bs
,
struct
vmem_cell
*
restrict
vc
)
can_cheat
(
struct
blockstate
*
bs
,
struct
vmem_cell
*
vc
)
{
return
vc
->
bg
==
bs
->
cheat_colour
&&
(
vc
->
ch
==
' '
)
&&
(
vc
->
font
<
CONIO_FIRST_FREE_FONT
)
&&
!
(
vc
->
bg
&
0x02000000
);
}
static
void
calc_charstate
(
struct
blockstate
*
restrict
bs
,
struct
vmem_cell
*
restrict
vc
,
struct
charstate
*
restrict
cs
,
int
xpos
,
int
ypos
)
calc_charstate
(
struct
blockstate
*
bs
,
struct
vmem_cell
*
vc
,
struct
charstate
*
cs
,
int
xpos
,
int
ypos
)
{
bool
not_hidden
=
true
;
cs
->
slow
=
bs
->
font_data_width
!=
8
;
...
...
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