summaryrefslogtreecommitdiff
path: root/src/Fl_Native_File_Chooser_WIN32.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2014-01-27 02:16:24 +0000
committerGreg Ercolano <erco@seriss.com>2014-01-27 02:16:24 +0000
commitebd1e106aa651579defb92b0a9a70cbba10e7061 (patch)
tree7809b35ac5da6a0241e930523a26e373580c49d1 /src/Fl_Native_File_Chooser_WIN32.cxx
parentf6e1394df9be65fdd11937904150b3fbc227c93a (diff)
Fixes STR#3041, int -> size_t
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Native_File_Chooser_WIN32.cxx')
-rw-r--r--src/Fl_Native_File_Chooser_WIN32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_WIN32.cxx b/src/Fl_Native_File_Chooser_WIN32.cxx
index cc8903028..2d4f581c9 100644
--- a/src/Fl_Native_File_Chooser_WIN32.cxx
+++ b/src/Fl_Native_File_Chooser_WIN32.cxx
@@ -710,7 +710,7 @@ void Fl_Native_File_Chooser::parse_filter(const char *in) {
// whatever input string is, our output won't be much longer in length..
// use double length just for safety.
- int slen = strlen(in);
+ size_t slen = strlen(in);
char *wildprefix = new char[slen*2]; wildprefix[0] = 0;
char *comp = new char[slen*2]; comp[0] = 0;
char *name = new char[slen*2]; name[0] = 0;