We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47c10f0 + cdfecbb commit a99570eCopy full SHA for a99570e
sdjournal/journal.go
@@ -1155,7 +1155,7 @@ func (j *Journal) GetBootID() (string, error) {
1155
return "", err
1156
}
1157
1158
- id128StringMax := C.ulong(C.SD_ID128_STRING_MAX)
+ id128StringMax := C.size_t(C.SD_ID128_STRING_MAX)
1159
c := (*C.char)(C.malloc(id128StringMax))
1160
defer C.free(unsafe.Pointer(c))
1161
C.my_sd_id128_to_string(sd_id128_to_string, boot_id, c)
0 commit comments