Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Commit

Permalink
runtime/testdata/testprogcgo: fix Windows C compiler warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bradfitz committed May 10, 2016
1 parent 9780bf2 commit 9628e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/testdata/testprogcgo/threadpanic_windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

void gopanic(void);

static unsigned int
static unsigned int __attribute__((__stdcall__))
die(void* x)
{
gopanic();
Expand Down

0 comments on commit 9628e6f

Please sign in to comment.