Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
e76b7ba0
Commit
e76b7ba0
authored
Sep 30, 2021
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
674bcbee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/vec/vecInt.h
+3
-3
No files found.
src/misc/vec/vecInt.h
View file @
e76b7ba0
...
...
@@ -2267,18 +2267,18 @@ static inline Vec_Int_t * Vec_IntReadBin( char * pFileName, int fVerbose )
}
if
(
nSize
%
sizeof
(
int
)
>
0
)
{
printf
(
"Cannot read file with integers because it is not aligned at 4 bytes (remainder = %d).
\n
"
,
nSize
%
sizeof
(
int
)
);
printf
(
"Cannot read file with integers because it is not aligned at 4 bytes (remainder = %d).
\n
"
,
(
int
)(
nSize
%
sizeof
(
int
)
)
);
fclose
(
pFile
);
return
NULL
;
}
rewind
(
pFile
);
p
=
Vec_IntStart
(
nSize
/
sizeof
(
int
)
);
p
=
Vec_IntStart
(
(
int
)(
nSize
/
sizeof
(
int
)
)
);
RetValue
=
fread
(
Vec_IntArray
(
p
),
1
,
nSize
,
pFile
);
fclose
(
pFile
);
if
(
RetValue
!=
nSize
)
printf
(
"Error reading data from file.
\n
"
);
if
(
fVerbose
)
printf
(
"Read %d integers from file
\"
%s
\"
.
\n
"
,
nSize
/
sizeof
(
int
),
pFileName
);
printf
(
"Read %d integers from file
\"
%s
\"
.
\n
"
,
(
int
)(
nSize
/
sizeof
(
int
)
),
pFileName
);
return
p
;
}
...
...
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