Skip to content

Commit cc3666e

Browse files
committed
Updated go.bug.st/serial.v1
Fixes #13
1 parent e337ece commit cc3666e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: Gopkg.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: vendor/go.bug.st/serial.v1/.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ go:
99
- 1.8.x
1010
- 1.9.x
1111
- 1.10.x
12+
- 1.11.x
1213

1314
go_import_path: go.bug.st/serial.v1
1415

Diff for: vendor/go.bug.st/serial.v1/enumerator/usb_darwin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func serviceMatching(serviceType string) C.CFMutableDictionaryRef {
112112
// getMatchingServices look up registered IOService objects that match a matching dictionary.
113113
func getMatchingServices(matcher C.CFMutableDictionaryRef) (C.io_iterator_t, error) {
114114
var i C.io_iterator_t
115-
err := C.IOServiceGetMatchingServices(C.kIOMasterPortDefault, matcher, &i)
115+
err := C.IOServiceGetMatchingServices(C.kIOMasterPortDefault, C.CFDictionaryRef(matcher), &i)
116116
if err != C.KERN_SUCCESS {
117117
return 0, fmt.Errorf("IOServiceGetMatchingServices failed (code %d)", err)
118118
}

0 commit comments

Comments
 (0)