[MLton-commit] r4434

Matthew Fluet MLton@mlton.org
Mon, 1 May 2006 18:59:27 -0700


Type mismatches
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/basis/Int/PackWord.c
U   mlton/branches/on-20050822-x86_64-branch/runtime/basis/Net/Socket/Socket.c
U   mlton/branches/on-20050822-x86_64-branch/runtime/platform/linux.c

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/basis/Int/PackWord.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/basis/Int/PackWord.c	2006-05-02 01:46:55 UTC (rev 4433)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/basis/Int/PackWord.c	2006-05-02 01:59:27 UTC (rev 4434)
@@ -68,10 +68,10 @@
   return PackWord32_subArrRev (a, 4 * offset);
 }
 
-void Word8Array_updateWord32Rev (Array(Word32_t) a, C_Ptrdiff_t offset, Word32_t w) {
+void Word8Array_updateWord32Rev (Array(Word8_t) a, C_Ptrdiff_t offset, Word32_t w) {
   PackWord32_updateRev (a, 4 * offset, w);
 }
 
 Word32_t Word8Vector_subWord32Rev (Vector(Word8_t) v, C_Ptrdiff_t offset) {
-  return PackWord32_subArrRev (v, 4 * offset);
+  return PackWord32_subVecRev (v, 4 * offset);
 }

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/basis/Net/Socket/Socket.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/basis/Net/Socket/Socket.c	2006-05-02 01:46:55 UTC (rev 4433)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/basis/Net/Socket/Socket.c	2006-05-02 01:59:27 UTC (rev 4434)
@@ -5,7 +5,7 @@
   return accept (s, (struct sockaddr*)addr, (socklen_t*)addrlen);
 }
 
-C_Errno_t(C_Int_t) Socket_bind (C_Sock_t s, Array(Word8_t) addr, C_Socklen_t addrlen) {
+C_Errno_t(C_Int_t) Socket_bind (C_Sock_t s, Vector(Word8_t) addr, C_Socklen_t addrlen) {
   MLton_initSockets ();
   return bind (s, (struct sockaddr*)addr, (socklen_t)addrlen);
 }

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/platform/linux.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/platform/linux.c	2006-05-02 01:46:55 UTC (rev 4433)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/platform/linux.c	2006-05-02 01:59:27 UTC (rev 4434)
@@ -84,6 +84,6 @@
 /* ------------------------------------------------- */
 
 C_Errno_t(C_PId_t) MLton_Process_cwait (__attribute__ ((unused)) C_PId_t pid, 
-                                        __attribute__ ((unused)) Ref(C_status_t) status) {
+                                        __attribute__ ((unused)) Ref(C_Status_t) status) {
         die("MLton_Process_cwait not implemented");
 }