summaryrefslogtreecommitdiff
path: root/test/message.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-04-11 07:35:33 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-04-11 07:35:33 +0000
commite72630762df5d3dfb34bf0866b7d908c93108bff (patch)
tree1a26152243e0f59ef329cea4bb89fa97e6bb72de /test/message.cxx
parente9a3f0e927853890a424f8f46273dc010f3980e3 (diff)
Remove all warnings for Mac buidl with gcc (except one)
- some warnings about using char for indexing - some warnings about using signed int in strncmp - some warnings about deprecated fl_ask (replaced with fl_choice) The on warning not removed is the strftime("%c") in fluid since I don't know anything about PS and I don't know if a different data format would break PS. Mike? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/message.cxx')
-rw-r--r--test/message.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/message.cxx b/test/message.cxx
index 4f0c51a2f..4d2329b32 100644
--- a/test/message.cxx
+++ b/test/message.cxx
@@ -37,8 +37,8 @@ int main(int, char **) {
fl_alert("Quantum fluctuations in the space-time continuum detected, "
"you have %g seconds to comply.", 10.0);
- printf("fl_ask returned %d\n",
- fl_ask("Do you really want to %s?", "continue"));
+ printf("fl_choice returned %d\n",
+ fl_choice("Do you really want to %s?", "No", "Yes", 0L, "continue"));
printf("fl_choice returned %d\n",
fl_choice("Choose one of the following:","choice0","choice1","choice2"));