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
56d654e4
Commit
56d654e4
authored
Mar 26, 1999
by
Ovidiu Predescu
Committed by
Ovidiu Predescu
Mar 26, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explicitly specify the char arguments to __objc_code_char and __objc_code_char as being signed.
From-SVN: r26008
parent
922cf99e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
libobjc/ChangeLog
+6
-0
libobjc/archive.c
+3
-3
No files found.
libobjc/ChangeLog
View file @
56d654e4
Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
* archive.c (__objc_code_char, __objc_write_char): Explicitly specify
the char as being signed (patch from Daniel Jacobowitz
<drow@false.org>).
Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (AC_PREREQ): Update to 2.13.
...
...
libobjc/archive.c
View file @
56d654e4
...
...
@@ -91,7 +91,7 @@ objc_write_unsigned_char (struct objc_typed_stream* stream,
}
static
__inline__
int
__objc_code_char
(
unsigned
char
*
buf
,
char
val
)
__objc_code_char
(
unsigned
char
*
buf
,
signed
char
val
)
{
if
(
val
>=
0
)
return
__objc_code_unsigned_char
(
buf
,
val
);
...
...
@@ -104,7 +104,7 @@ __objc_code_char (unsigned char* buf, char val)
}
int
objc_write_char
(
struct
objc_typed_stream
*
stream
,
char
value
)
objc_write_char
(
struct
objc_typed_stream
*
stream
,
signed
char
value
)
{
unsigned
char
buf
[
sizeof
(
char
)
+
1
];
int
len
=
__objc_code_char
(
buf
,
value
);
...
...
@@ -1000,7 +1000,7 @@ objc_write_type(TypedStream* stream, const char* type, const void* data)
break
;
case
_C_CHR
:
return
objc_write_char
(
stream
,
*
(
char
*
)
data
);
return
objc_write_char
(
stream
,
*
(
signed
char
*
)
data
);
break
;
case
_C_UCHR
:
...
...
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