Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
a1f63b00
Commit
a1f63b00
authored
Aug 07, 2014
by
Thomas Jahns
🤸
Browse files
Fix implicit conversion in file_list_new.
parent
f0da5700
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/file.c
View file @
a1f63b00
...
...
@@ -190,7 +190,7 @@ void file_list_new(void)
{
assert
(
_fileList
==
NULL
);
_fileList
=
(
filePtrToIdx
*
)
malloc
(
_file_max
*
sizeof
(
filePtrToIdx
));
_fileList
=
(
filePtrToIdx
*
)
x
malloc
(
(
size_t
)
_file_max
*
sizeof
(
filePtrToIdx
));
}
static
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment