summaryrefslogtreecommitdiff
path: root/Documentation/ptp
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ptp')
-rw-r--r--Documentation/ptp/testptp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/ptp/testptp.c b/Documentation/ptp/testptp.c
index d99012f41602..5d2eae16f7ee 100644
--- a/Documentation/ptp/testptp.c
+++ b/Documentation/ptp/testptp.c
@@ -160,7 +160,8 @@ int main(int argc, char *argv[])
char *progname;
- int i, c, cnt, fd;
+ unsigned int i;
+ int c, cnt, fd;
char *device = DEVICE;
clockid_t clkid;