projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9cb4e31
)
Warning fix (const char *).
author
twisti
<none@none>
Tue, 4 Jan 2005 12:02:24 +0000
(12:02 +0000)
committer
twisti
<none@none>
Tue, 4 Jan 2005 12:02:24 +0000
(12:02 +0000)
src/native/native.c
patch
|
blob
|
history
diff --git
a/src/native/native.c
b/src/native/native.c
index cf03e74750793783ace1120bfbc1f2b92fe03d69..e3964f1599abfdba7522985bd5054f2e92bfb749 100644
(file)
--- a/
src/native/native.c
+++ b/
src/native/native.c
@@
-31,7
+31,7
@@
The .hh files created with the header file generator are all
included here as are the C functions implementing these methods.
The .hh files created with the header file generator are all
included here as are the C functions implementing these methods.
- $Id: native.c 1
785 2004-12-21 09:55:33
Z twisti $
+ $Id: native.c 1
852 2005-01-04 12:02:24
Z twisti $
*/
*/
@@
-448,7
+448,7
@@
java_lang_String *javastring_new(utf *u)
*******************************************************************************/
*******************************************************************************/
-java_lang_String *javastring_new_char(char *text)
+java_lang_String *javastring_new_char(c
onst c
har *text)
{
s4 i;
s4 len; /* length of the string */
{
s4 i;
s4 len; /* length of the string */
@@
-583,9
+583,7
@@
java_objectheader *native_new_and_init(classinfo *c)
/* find initializer */
/* find initializer */
- m = class_findmethod(c,
- utf_new_char("<init>"),
- utf_new_char("()V"));
+ m = class_findmethod(c, utf_new_char("<init>"), utf_new_char("()V"));
if (!m) { /* initializer not found */
if (opt_verbose) {
if (!m) { /* initializer not found */
if (opt_verbose) {