1
0
mirror of https://github.com/golang/go synced 2024-11-12 06:40:22 -07:00

runtime/testdata/testprogcgo: fix Windows C compiler warning

Noticed and fix by Alex Brainman.

Tested in https://golang.org/cl/23005 (which makes all compiler
warnings fatal during development)

Fixes #15623

Change-Id: Ic19999fce8bb8640d963965cc328574efadd7855
Reviewed-on: https://go-review.googlesource.com/23010
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
This commit is contained in:
Brad Fitzpatrick 2016-05-10 15:32:00 -07:00
parent 9780bf2a95
commit 9628e6fd1d

View File

@ -8,7 +8,7 @@
void gopanic(void);
static unsigned int
static unsigned int __attribute__((__stdcall__))
die(void* x)
{
gopanic();