diff options
| author | Manolo Gouy <Manolo> | 2014-05-23 21:19:29 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-05-23 21:19:29 +0000 |
| commit | ecb31ba5e85e96e44b232751013813f571326766 (patch) | |
| tree | 6d165484259516befc0fa9c69b37863b94a3b72f /src | |
| parent | 2b2f0c43eb456b953459b0d43e351d7633e045f5 (diff) | |
Removed compilation warning about signed/unsigned comparison.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_x.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 1e08dfa78..6df61e150 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1219,7 +1219,7 @@ static long getIncrData(uchar* &data, const XSelectionEvent& selevent, long lowe num_bytes = nitems * (actual_format / 8); offset += num_bytes/4; //slice_size += num_bytes; - if (total + num_bytes > lower_bound) data = (uchar*)realloc(data, total + num_bytes); + if (total + num_bytes > (size_t)lower_bound) data = (uchar*)realloc(data, total + num_bytes); memcpy(data + total, prop, num_bytes); total += num_bytes; if (prop) XFree(prop); } while (bytes_after != 0); |
