Changeset: 873929a1ee07 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=873929a1ee07
Modified Files:
        buildtools/burg/plank.c
Branch: Mar2011
Log Message:

buildtools/burg/plank.c(109): remark #2259: non-pointer conversion from "int" 
to "short" may lose significant bits

http://monetdb.cwi.nl/testing/projects/monetdb/testweb/logs/39245:124139f4ff4a/Int-Fedora-i386-propcheck/make.html#l481
http://monetdb.cwi.nl/testing/projects/monetdb/testweb/logs/39245:124139f4ff4a/Int-Fedora-i386-propcheck/make.html#l485


diffs (14 lines):

diff --git a/buildtools/burg/plank.c b/buildtools/burg/plank.c
--- a/buildtools/burg/plank.c
+++ b/buildtools/burg/plank.c
@@ -106,8 +106,8 @@
        Exception e;
 
        e = (Exception) zalloc(sizeof(struct except));
-       e->index = index;
-       e->value = value;
+       e->index = (short)index;
+       e->value = (short)value;
        return e;
 }
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to