瀏覽代碼

* Fix ino_t and dev_t types for x86_64 cpu

git-svn-id: trunk@20710 -
pierre 13 年之前
父節點
當前提交
ea216f8d0f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      rtl/openbsd/ptypes.inc

+ 2 - 2
rtl/openbsd/ptypes.inc

@@ -24,7 +24,7 @@
 
 type
 
-    dev_t    = cuint32;         { used for device numbers      }
+    dev_t    = cint32;          { used for device numbers      }
     TDev     = dev_t;
     pDev     = ^dev_t;
 
@@ -33,7 +33,7 @@ type
     pGid     = ^gid_t;
     TIOCtlRequest = cuLong;
 
-    ino_t    = clong;           { used for file serial numbers }
+    ino_t    = cuint32;         { used for file serial numbers }
     TIno     = ino_t;
     pIno     = ^ino_t;