Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wolf3d
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
wolf3d
Commits
597376eb
Commit
597376eb
authored
Dec 22, 2007
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack out some gcc 4.0.1 warnings.
parent
9d0ed64d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
id_ca.c
src/id_ca.c
+2
-2
wl_main.c
src/wl_main.c
+1
-1
No files found.
src/id_ca.c
View file @
597376eb
...
...
@@ -88,7 +88,7 @@ boolean CA_WriteFile(const char *filename, const void *ptr, long length)
fprintf
(
stderr
,
"CA_FarWrite hit EOF?
\n
"
);
return
false
;
}
else
if
(
l
!=
length
)
{
fprintf
(
stderr
,
"CA_FarWrite only wrote %d out of %ld
\n
"
,
l
,
length
);
fprintf
(
stderr
,
"CA_FarWrite only wrote %d out of %ld
\n
"
,
(
int
)
l
,
length
);
return
false
;
}
...
...
@@ -128,7 +128,7 @@ boolean CA_LoadFile(const char *filename, memptr *ptr)
fprintf
(
stderr
,
"CA_FarRead hit EOF?
\n
"
);
return
false
;
}
else
if
(
l
!=
size
)
{
fprintf
(
stderr
,
"CA_FarRead only read %d out of %ld
\n
"
,
l
,
size
);
fprintf
(
stderr
,
"CA_FarRead only read %d out of %ld
\n
"
,
(
int
)
l
,
size
);
return
false
;
}
...
...
src/wl_main.c
View file @
597376eb
...
...
@@ -126,7 +126,7 @@ static int32_t CalcFileChecksum(int fd, int len)
i
=
len
;
}
ReadBytes
(
fd
,
buf
,
i
);
ReadBytes
(
fd
,
(
byte
*
)
buf
,
i
);
for
(
j
=
0
;
j
<
i
;
j
++
)
{
cs
+=
c1
^
buf
[
j
];
...
...
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