Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
Fixed Linux compilation issue (#1)
Browse files Browse the repository at this point in the history
Changed UInt16 to mode_t
  • Loading branch information
charlymr authored Dec 8, 2020
1 parent c2be0a2 commit 0d40a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/LiquidLocalDriver/LiquidLocalStorage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ struct LiquidLocalStorage: FileStorage {
let fileio: NonBlockingFileIO
let configuration: LiquidLocalStorageConfiguration
let context: FileStorageContext
let posixMode: UInt16
let posixMode: mode_t

init(fileio: NonBlockingFileIO, configuration: LiquidLocalStorageConfiguration, context: FileStorageContext, posixMode: UInt16 = 0o744) {
init(fileio: NonBlockingFileIO, configuration: LiquidLocalStorageConfiguration, context: FileStorageContext, posixMode: mode_t = 0o744) {
self.fileio = fileio
self.configuration = configuration
self.context = context
Expand Down

0 comments on commit 0d40a54

Please sign in to comment.