diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-13 21:51:23 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-13 21:51:23 (GMT) |
commit | 8ef38a7e1335498220c1dad6109c3f035f878ffa (patch) | |
tree | e9c2b607fa747c61a49074514454eb483ac3ea93 /win/tkWinFont.c | |
parent | b8d8c08583edeba5c3f7b6bce2e13c60c2323c47 (diff) | |
parent | 52482ab5023994148201c6b4e71c40b62809b205 (diff) | |
download | tk-8ef38a7e1335498220c1dad6109c3f035f878ffa.zip tk-8ef38a7e1335498220c1dad6109c3f035f878ffa.tar.gz tk-8ef38a7e1335498220c1dad6109c3f035f878ffa.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinFont.c')
-rw-r--r-- | win/tkWinFont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinFont.c b/win/tkWinFont.c index 7228126..f209716 100644 --- a/win/tkWinFont.c +++ b/win/tkWinFont.c @@ -2326,7 +2326,7 @@ GetScreenFont( * We can only store up to LF_FACESIZE wide characters */ - if (Tcl_DStringLength(&ds) >= (LF_FACESIZE * sizeof(WCHAR))) { + if ((size_t)Tcl_DStringLength(&ds) >= (LF_FACESIZE * sizeof(WCHAR))) { Tcl_DStringSetLength(&ds, LF_FACESIZE); } src = (Tcl_UniChar *) Tcl_DStringValue(&ds); @@ -2613,7 +2613,7 @@ LoadFontRanges( } n = GetFontData(hdc, cmapKey, 0, &cmapTable, sizeof(cmapTable)); - if (n != GDI_ERROR) { + if (n != (int)GDI_ERROR) { if (swapped) { SwapShort(&cmapTable.numTables); } |