summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2015-03-21 19:50:53 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2015-03-21 19:50:53 +0100
commit7e69ed98cdd3c8ee0bba783927bc95b895c60160 (patch)
tree68f41cf9b33792f2c20efb818f8119b93cd08711 /io.c
parent9dce83b8bd172560283f45ba69a583ced139ab02 (diff)
downloadstrace-7e69ed98cdd3c8ee0bba783927bc95b895c60160.tar.gz
Change last parameter of umoven() from char* to void*
Saves tons of casts. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 3626c7763..061850962 100644
--- a/io.c
+++ b/io.c
@@ -112,7 +112,7 @@ tprint_iov_upto(struct tcb *tcp, unsigned long len, unsigned long addr, int deco
tprints("...");
break;
}
- if (umoven(tcp, cur, sizeof_iov, (char *) &iov) < 0) {
+ if (umoven(tcp, cur, sizeof_iov, &iov) < 0) {
tprints("?");
failed = 1;
break;