From 2da9a31ae270c8366a6b0020c18080a54885d4ea Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 2 Jul 2010 18:51:48 +0000 Subject: [PATCH] 2010-07-02 Joel Sherrill * psx13/test.c: Fix warning. --- testsuites/psxtests/ChangeLog | 4 ++++ testsuites/psxtests/psx13/test.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index 4478a19c8e..7550716046 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,7 @@ +2010-07-02 Joel Sherrill + + * psx13/test.c: Fix warning. + 2010-07-02 Joel Sherrill * psxfile01/test_cat.c: Does not need posix specific macros. diff --git a/testsuites/psxtests/psx13/test.c b/testsuites/psxtests/psx13/test.c index 0f37b584b3..eceb696907 100644 --- a/testsuites/psxtests/psx13/test.c +++ b/testsuites/psxtests/psx13/test.c @@ -466,7 +466,7 @@ int UTimesTest (void) time[0].tv_sec = 12345; time[1].tv_sec = 54321; - error = utimes("testfile1.tst", &time); + error = utimes("testfile1.tst", (struct timeval *)&time); if (error == 0) {