]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: correct type declaration for Windows
authorDavid Chase <drchase@google.com>
Thu, 3 Nov 2016 15:50:14 +0000 (11:50 -0400)
committerDavid Chase <drchase@google.com>
Thu, 3 Nov 2016 17:42:01 +0000 (17:42 +0000)
commit4141054d19f6d5bcdc448be00a6ce4a4c864d488
treea12361c32f480c2fdad8b4ad66c57ecd50d45759
parentb89135777be7c2f123dbf2eea3c92a5402e4c63c
runtime/cgo: correct type declaration for Windows

Newer versions of gcc notice a type mismatch and complain.
Fix code to match documented signature in MSDN.
Trybots say this still compiles with the older (5.1) version
of gcc.

Fixes #17771.

Change-Id: Ib3fe6f71b40751e1146249e31232da5ac69b9e00
Reviewed-on: https://go-review.googlesource.com/32646
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/cgo/gcc_libinit_windows.c