updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / einstein / arch.patch
blob76816393caca86ca82bff5a78405e9bc29bf39e5
1 --- einstein-2.0/convert.h 2005-08-14 04:40:58.000000000 +0200
2 +++ convert.h 2009-05-24 17:13:35.941186331 +0200
3 @@ -5,6 +5,7 @@
4 #include <iostream>
5 #include <sstream>
6 #include <string>
7 +#include <typeinfo>
9 #include "exceptions.h"
10 #include "unicode.h"
11 --- einstein-2.0/unicode.h 2005-08-14 04:40:58.000000000 +0200
12 +++ unicode.h 2009-05-24 17:13:22.227852925 +0200
13 @@ -7,6 +7,7 @@
16 #include <string>
17 +#include <cstring>
18 #include <iostream>
21 --- einstein-2.0/formatter.cpp 2005-08-14 04:40:58.000000000 +0200
22 +++ formatter.cpp 2009-06-26 07:40:23.854480611 +0200
23 @@ -58,7 +58,7 @@
24 if ((c.type == INT_ARG) || (c.type == STRING_ARG) ||
25 (c.type == FLOAT_ARG) || (c.type == DOUBLE_ARG))
27 - int no = (int)c.data;
28 + long int no = (long int)c.data;
29 args[no - 1] = c.type;
32 @@ -135,7 +135,7 @@
34 case STRING_ARG:
35 case INT_ARG:
36 - no = (int)cmd->data - 1;
37 + no = (long int)cmd->data - 1;
38 if (no < (int)argValues.size())
39 s += argValues[no]->format(cmd);
40 break;