summaryrefslogtreecommitdiff
path: root/comms/synce-rra/patches/patch-ab
blob: 9353baa3a67b16ec1c8c726f4a1d544b6ec46dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.1.1.1 2005/10/13 16:57:41 wiz Exp $

--- lib/parser.c.orig	2005-05-13 13:31:07.000000000 +0200
+++ lib/parser.c
@@ -55,10 +55,10 @@ struct _Parser
 	size_t propval_count;
 };
 
-bool parser_duration_to_seconds(const char* duration, int* result)/*{{{*/
+bool parser_duration_to_seconds(const unsigned char* duration, int* result)/*{{{*/
 {
   enum { dur_sign, dur_p, dur_any, dur_time, dur_end } state = dur_sign;
-  const char *p;
+  const unsigned char *p;
   struct tm time_struct;
   int sign = 1;
   int value = 0;