diff options
| author | Greg Ercolano <erco@seriss.com> | 2013-09-16 12:02:40 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2013-09-16 12:02:40 +0000 |
| commit | 578310dd0f74e755ff3311d3826bbfa9ba0b2bcf (patch) | |
| tree | e9a446fc7e35a9b8190d51a1b827d95e33603d99 /src | |
| parent | 4e6779bc49c2603a18b147d355524dccf6e01cb6 (diff) | |
Fix Solaris warnings mentioned by Micha on fltk.coredev Sep 16 '13
in thread entitled "Re: STR 2636, clipboard notification".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_x.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index aba288f81..6b894b93a 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -866,8 +866,8 @@ void Fl::copy(const char *stuff, int len, int clipboard) { //////////////////////////////////////////////////////////////// // Code for tracking clipboard changes: -static Time primary_timestamp = -1; -static Time clipboard_timestamp = -1; +static Time primary_timestamp = (Time)-1; +static Time clipboard_timestamp = (Time)-1; extern bool fl_clipboard_notify_empty(void); extern void fl_trigger_clipboard_notify(int source); @@ -949,8 +949,8 @@ void fl_clipboard_notify_change() { // Reset the timestamps if we've going idle so that you don't // get a bogus immediate trigger next time they're activated. if (fl_clipboard_notify_empty()) { - primary_timestamp = -1; - clipboard_timestamp = -1; + primary_timestamp = (Time)-1; + clipboard_timestamp = (Time)-1; } else { #if HAVE_XFIXES if (!have_xfixes) |
