Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
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
riscv-gcc-1
Commits
3044d369
Commit
3044d369
authored
16 years ago
by
Janne Blomqvist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Part 1 of PR25561, fix compile warnings forgotten in actual commit.
From-SVN: r135379
parent
7c1b4aba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
libgfortran/io/fbuf.c
+1
-1
libgfortran/io/transfer.c
+1
-1
No files found.
libgfortran/io/fbuf.c
View file @
3044d369
...
...
@@ -126,7 +126,7 @@ fbuf_seek (gfc_unit * u, gfc_offset off)
if
(
pos
<
0
)
return
-
1
;
u
->
fbuf
->
ptr
=
u
->
fbuf
->
buf
+
pos
;
if
(
pos
>
u
->
fbuf
->
act
)
if
(
pos
>
(
gfc_offset
)
u
->
fbuf
->
act
)
u
->
fbuf
->
act
=
pos
;
return
0
;
}
This diff is collapsed.
Click to expand it.
libgfortran/io/transfer.c
View file @
3044d369
...
...
@@ -2290,7 +2290,7 @@ skip_record (st_parameter_dt *dtp, size_t bytes)
{
rlength
=
(
MAX_READ
>
(
size_t
)
dtp
->
u
.
p
.
current_unit
->
bytes_left_subrecord
)
?
MAX_READ
:
dtp
->
u
.
p
.
current_unit
->
bytes_left_subrecord
;
MAX_READ
:
(
size_t
)
dtp
->
u
.
p
.
current_unit
->
bytes_left_subrecord
;
if
(
sread
(
dtp
->
u
.
p
.
current_unit
->
s
,
p
,
&
rlength
)
!=
0
)
{
...
...
This diff is collapsed.
Click to expand it.
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