diff options
| author | Simon Tatham <anakin@pobox.com> | 2017-10-01 14:50:58 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2017-10-01 15:18:14 +0100 |
| commit | edcf839d4c557c3993d681665829390697353344 (patch) | |
| tree | 50ba8ea86e0b499153e54f78ca3fe94283f51e90 /pattern.c | |
| parent | 8ea15f3b3525d2ef5341f8122871c4f0ff77260a (diff) | |
| download | puzzles-edcf839d4c557c3993d681665829390697353344.zip puzzles-edcf839d4c557c3993d681665829390697353344.tar.gz puzzles-edcf839d4c557c3993d681665829390697353344.tar.bz2 puzzles-edcf839d4c557c3993d681665829390697353344.tar.xz | |
Fix an int->pointer cast warning in windows.c.
If I increase clang-cl's warning pickiness, it starts objecting to my
cast to HMENU from a (potentially, in 64 bits) smaller integer type.
Actually I don't think there's a problem there - all the integer ids I
cast to HMENU are nice small numbers and a widening cast is just fine.
But I can suppress the warning by using INT_PTR instead of int in the
prototype for mkctrl, so it's easiest just to do that.
Diffstat (limited to 'pattern.c')
0 files changed, 0 insertions, 0 deletions