Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/utils/strace.cc')
-rw-r--r--winsup/utils/strace.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc
index 79187cdbc..26ffa4737 100644
--- a/winsup/utils/strace.cc
+++ b/winsup/utils/strace.cc
@@ -944,10 +944,10 @@ character #%d.\n", optarg, (int) (endptr - optarg), endptr);
#endif
break;
case 'p':
- pid = strtol (optarg, NULL, 10);
+ pid = strtoul (optarg, NULL, 10);
break;
case 'S':
- flush_period = strtol (optarg, NULL, 10);
+ flush_period = strtoul (optarg, NULL, 10);
break;
case 't':
hhmmss ^= 1;