[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Problem building tests
From: |
Brad Hards |
Subject: |
Re: [pdf-devel] Problem building tests |
Date: |
Tue, 26 May 2009 19:52:43 +1000 |
User-agent: |
KMail/1.9.10 |
On Saturday 16 May 2009 03:03:13 pm Brad Hards wrote:
> I'm not yet an authorised contributor, so I won't provide a patch.
OK, I'll provide a patch, given how trivial it is.
Brad
--- torture/unit/base/time/pdf-time-span-destroy.c 2009-04-16 22:13:38
+0000
+++ torture/unit/base/time/pdf-time-span-destroy.c 2009-05-26 07:55:21
+0000
@@ -48,7 +48,7 @@
sec = pdf_time_span_to_secs(span);
sec2 = pdf_i64_new(0, 0);
- fail_unless(memcmp(sec, sec2, sizeof(pdf_i64_t)) == 0);
+ fail_unless(memcmp(&sec, &sec2, sizeof(pdf_i64_t)) == 0);
status = pdf_time_span_destroy(&span);
fail_if(status != PDF_OK);