mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
clipboard: fix v -cstrict -cc gcc vlib/clipboard/clipboard_test.v
This commit is contained in:
parent
4bc9a8f8d8
commit
f54f156d25
7 changed files with 31 additions and 30 deletions
|
@ -28,7 +28,7 @@ pub fn close(handle voidptr) bool {
|
|||
|
||||
// sym returns an address of an exported function or variable from a given module.
|
||||
pub fn sym(handle voidptr, symbol string) voidptr {
|
||||
return C.GetProcAddress(handle, symbol.str)
|
||||
return C.GetProcAddress(handle, voidptr(symbol.str))
|
||||
}
|
||||
|
||||
// dlerror provides a text error diagnostic message for functions in `dl`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue