Skip to content

Commit

Permalink
return proper type
Browse files Browse the repository at this point in the history
  • Loading branch information
leandromoreira authored Feb 27, 2024
1 parent c95e576 commit 32af090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const (
LogLevelDebug = LogLevel(C.AV_LOG_DEBUG)
)

func (l LogLevel) String() {
func (l LogLevel) String() string {
return C.GoString(C.get_level_str(C.int(l)))
}

Expand Down

0 comments on commit 32af090

Please sign in to comment.