|
@@ -82,7 +82,7 @@ func (c *HisApiController) TestGetBasBaseInfo() {
|
82
|
82
|
|
83
|
83
|
str := make([]byte, 256)
|
84
|
84
|
str1 := make([]byte, 256)
|
85
|
|
- ret2, _, err2 := readCard.Call((uintptr)(unsafe.Pointer(&str[0])), 1024, (uintptr)(unsafe.Pointer(&str1[0])), 1024)
|
|
85
|
+ ret2, _, err2 := readCard.Call((uintptr)(unsafe.Pointer(&str[0])), IntPtr(1024), (uintptr)(unsafe.Pointer(&str1[0])), IntPtr(1024))
|
86
|
86
|
fmt.Println(" Add(4,5)的结果为:", ret2)
|
87
|
87
|
fmt.Println(" str:", str)
|
88
|
88
|
fmt.Println(" str1:", str1)
|