Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/mail/bincimap/files/patch-src_convert.h
16462 views
1
--- src/convert.h.orig 2005-02-08 20:30:22 UTC
2
+++ src/convert.h
3
@@ -43,6 +43,8 @@
4
#include <iostream>
5
6
#include <stdio.h>
7
+#include <stdlib.h>
8
+#include <string.h>
9
#include <sys/stat.h>
10
11
#include "address.h"
12
@@ -113,7 +113,7 @@ namespace Binc {
13
unsigned char c = *i;
14
unsigned char d = *(i + 1);
15
16
- char *t;
17
+ const char *t;
18
if ((t = strchr(hexchars, c)) == 0)
19
return "out of range";
20
n = (t - hexchars) << 4;
21
22