summaryrefslogtreecommitdiff
path: root/finance/libofx/patches/patch-aa
blob: 28b20ab017b5b733202ee19bd482ef57ed02e929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.2 2006/02/08 16:21:51 joerg Exp $

--- lib/ofx_preproc.cpp.orig	2004-09-02 00:39:51.000000000 +0000
+++ lib/ofx_preproc.cpp
@@ -21,6 +21,7 @@
 #include <fstream>
 #include <stdlib.h>
 #include <stdio.h>
+#include <unistd.h>
 #include <string>
 #include "ParserEventGeneratorKit.h"
 #include "libofx.h"
@@ -204,7 +205,7 @@ CFCT int libofx_proc_buffer(LibofxContex
   string s_buffer;
   char *filenames[3];
   char tmp_filename[50];
-  unsigned int pos;
+  string::size_type pos;
   LibofxContext *libofx_context;
 
   libofx_context=(LibofxContext*)ctx;