projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b352aa9
)
Merge pull request #2023 from juergenhoetzel/master
author
Miguel de Icaza
<miguel@gnome.org>
Wed, 23 Sep 2015 18:24:06 +0000
(14:24 -0400)
committer
Miguel de Icaza
<miguel@gnome.org>
Wed, 23 Sep 2015 18:24:06 +0000
(14:24 -0400)
[runtime] Fix casting error in InternalCodePage.
mono/metadata/icall.c
patch
|
blob
|
history
diff --git
a/mono/metadata/icall.c
b/mono/metadata/icall.c
index 7e7d4e0953e77b7a9fabadefe2cdaa8f54a9476c..e47f958817170c1c735f20615cdd3d391d5a78a4 100644
(file)
--- a/
mono/metadata/icall.c
+++ b/
mono/metadata/icall.c
@@
-6168,7
+6168,7
@@
ves_icall_System_Text_EncodingHelper_InternalCodePage (gint32 *int_code_page)
p = encodings [0];
code = 0;
for (i = 0; p != 0; ){
- if ((gs
s
ize) p < 7){
+ if ((gsize) p < 7){
code = (gssize) p;
p = encodings [++i];
continue;