diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-09-30 03:34:32 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2006-09-30 03:34:32 +0000 |
| commit | 5e39761d40a1f630d6ea1e7e28b47f7ad2a0e2d2 (patch) | |
| tree | 3944561a3a5c226bbe1a897dd4f124ed3b2fffe4 /test/line_style.cxx | |
| parent | 4b77e169bf3f5443e19c980a6d467d51399ccb63 (diff) | |
Fix void * to integer casts for 64-bit Intel systems (STR #1446)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/line_style.cxx')
| -rw-r--r-- | test/line_style.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/line_style.cxx b/test/line_style.cxx index 2c2d54f7b..1676aa846 100644 --- a/test/line_style.cxx +++ b/test/line_style.cxx @@ -54,10 +54,10 @@ void test_box::draw() { buf[3] = char(sliders[7]->value()); buf[4] = 0; fl_line_style( - (int)(choice[0]->mvalue()->user_data()) + - (int)(choice[1]->mvalue()->user_data()) + - (int)(choice[2]->mvalue()->user_data()), - (int)(sliders[3]->value()), + (long)(choice[0]->mvalue()->user_data()) + + (long)(choice[1]->mvalue()->user_data()) + + (long)(choice[2]->mvalue()->user_data()), + (long)(sliders[3]->value()), buf); fl_rect(10,10,w()-20,h()-20); fl_begin_line(); |
