Skip to content

Commit

Permalink
Minor pokes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddTheSane committed Jan 18, 2024
1 parent 2572ded commit 63003c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Other Sources/ADBToolkit/ADBFileHandle.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ typedef NS_OPTIONS(NSUInteger, ADBHandleOptions) {
bytesWritten: (nullable out NSUInteger *)bytesWritten
error: (out NSError **)outError;

/// Identical to the above, but writes the contents of the specified NSData instance
/// Identical to the above, but writes the contents of the specified @c NSData instance
/// instead of a buffer.
- (BOOL) writeData: (NSData *)data
bytesWritten: (nullable out NSUInteger *)bytesWritten
Expand Down
2 changes: 1 addition & 1 deletion Other Sources/ADBToolkit/ADBSwiftHelpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ extension BXFileTypes {
let handle: ADBReadable & ADBSeekable
do {
//Should work, but just in case.
guard let prehandle1 = try filesystem.fileHandle(atPath: path, options: .openForReading) as? (ADBReadable & ADBSeekable) else {
guard let prehandle1 = try filesystem.fileHandle(atPath: path, options: .openForReading) as? ADBReadable & ADBSeekable else {
throw CocoaError(.fileReadUnsupportedScheme)
}
handle = prehandle1
Expand Down

0 comments on commit 63003c2

Please sign in to comment.