Tests: Silence a type conversion warning
authorPhil Miller <mille121@illinois.edu>
Thu, 26 May 2011 23:19:41 +0000 (18:19 -0500)
committerPhil Miller <mille121@illinois.edu>
Thu, 26 May 2011 23:19:41 +0000 (18:19 -0500)
tests/converse/megacon/bigmsg.c

index d0d2ad509d89b740b917e006f1c75fdda9153e61..ed3d9ff3e0803edb0d1e8b1cbda0bac7c13e6932 100644 (file)
@@ -9,9 +9,10 @@ CpvDeclare(int, bigmsg_index);
 
 void Cpm_megacon_ack();
 
-void bigmsg_handler(int *msg)
+void bigmsg_handler(void *vmsg)
 {
   int i, next;
+  int *msg = vmsg;
   if (CmiMyPe()==0) {
     for (i=CmiMsgHeaderSizeInts; i<250000; i++) {
       if (msg[i] != i) {