commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1127058 - in /commons/sandbox/runtime/trunk/src/main/native: os/win32/exec.c os/win32/winapi.c shared/sbuf.c shared/table.c
Date Tue, 24 May 2011 14:03:15 GMT
Author: mturk
Date: Tue May 24 14:03:15 2011
New Revision: 1127058

URL: http://svn.apache.org/viewvc?rev=1127058&view=rev
Log:
Fix conversion warnings

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/exec.c
    commons/sandbox/runtime/trunk/src/main/native/os/win32/winapi.c
    commons/sandbox/runtime/trunk/src/main/native/shared/sbuf.c
    commons/sandbox/runtime/trunk/src/main/native/shared/table.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/exec.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/exec.c?rev=1127058&r1=1127057&r2=1127058&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/exec.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/exec.c Tue May 24 14:03:15 2011
@@ -16,7 +16,6 @@
 
 #include "acr/error.h"
 #include "acr/clazz.h"
-#include "acr/bais.h"
 #include "acr/iodefs.h"
 #include "acr/port.h"
 #include "acr/sbuf.h"

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/winapi.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/winapi.c?rev=1127058&r1=1127057&r2=1127058&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/winapi.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/winapi.c Tue May 24 14:03:15 2011
@@ -76,7 +76,6 @@ ACR_WIN_EXPORT(jint, Win32, CreateFileMa
             ACR_SAVE_ERROR(ACR_EEXIST);
         }
     } DONE_WITH_STR(name);
-
     return V2I(h);
 }
 

Modified: commons/sandbox/runtime/trunk/src/main/native/shared/sbuf.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/sbuf.c?rev=1127058&r1=1127057&r2=1127058&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/sbuf.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/sbuf.c Tue May 24 14:03:15 2011
@@ -234,7 +234,7 @@ AcrSbCatb(acr_sb_t *s, const void *buf, 
         return 0;
     }
     if (len > SBUF_FREESPACE(s)) {
-        size_t x = len - SBUF_FREESPACE(s);
+        int x = len - SBUF_FREESPACE(s);
         if (sbuf_extend(s, x) < 0)
             return ACR_ENOMEM;
     }

Modified: commons/sandbox/runtime/trunk/src/main/native/shared/table.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/shared/table.c?rev=1127058&r1=1127057&r2=1127058&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/shared/table.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/shared/table.c Tue May 24 14:03:15 2011
@@ -75,7 +75,7 @@ AcrTableAdd(acr_table_t *arr)
         arr->nalloc = 0;
     }
     if (arr->nelts == arr->nalloc) {
-        acr_u32_t ns = 4096 / arr->esize;
+        acr_u32_t ns = 4096 / (int)arr->esize;
         char *nd;
 
         if (ns < 8)



Mime
View raw message