wip -- Fixes to build the tarball on Linux
authorJerome St-Louis <jerome@ecere.com>
Sat, 28 Sep 2013 02:41:18 +0000 (22:41 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sun, 29 Sep 2013 00:02:21 +0000 (20:02 -0400)
ecere/src/gfx/Surface.ec
ecere/src/net/HTTPFile.ec
extras/html/htmlParser.ec

index cc17b78..945e0d8 100644 (file)
@@ -1,7 +1,7 @@
-namespace gfx;
-
 import "Display"
 
+namespace gfx;
+
 #include <stdarg.h>
 
 public struct ColorKey
index d8bb3a1..e25ad53 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdio.h>
 
-import "list"
+import "List"
 import "network"
 #ifndef ECERE_NOSSL
 import "SSLSocket"
index b9801a3..d1b64f7 100644 (file)
@@ -114,7 +114,7 @@ String ParseURL(String input)
       {
          char hex[3] = { input[c+1], input[c+2], 0 };
          char * end;
-         int v = strtoul(hex, &end, 16);
+         int v = (int)strtoul(hex, &end, 16);
          if(v && end == hex + 2)
          {
             output[len++] = (char)v;