Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
de839524
Commit
de839524
authored
Aug 06, 2014
by
Thomas Jahns
🤸
Browse files
Fix type conversions in EXTRA block size computations.
parent
4e3e5a31
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/extralib.c
View file @
de839524
...
...
@@ -147,11 +147,11 @@ void extDelete(void *ext)
int
extCheckFiletype
(
int
fileID
,
int
*
swap
)
{
size_t
blocklen
=
0
;
size_t
blocklen
=
0
,
fact
=
0
;
size_t
sblocklen
=
0
;
size_t
data
=
0
;
size_t
dimxy
=
0
;
int
fact
=
0
,
found
=
0
;
int
found
=
0
;
unsigned
char
buffer
[
40
],
*
pbuf
;
if
(
fileRead
(
fileID
,
buffer
,
4
)
!=
4
)
return
(
found
);
...
...
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