basic implementation, tabling for now
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Foodsoft.Alpm
|
||||
public string Name { get; }
|
||||
|
||||
public long Size { get; }
|
||||
public uint Mode { get; }
|
||||
public int Mode { get; }
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
internal readonly unsafe struct NativeFile
|
||||
@@ -23,7 +23,7 @@ namespace Foodsoft.Alpm
|
||||
var native = (NativeFile*) ptr;
|
||||
Name = new string(native->Name);
|
||||
Size = native->size;
|
||||
Mode = native->mode;
|
||||
Mode = (int) native->mode;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user