projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No unsigned char's in public API (except for iconv)
[yaz-moved-to-github.git]
/
client
/
admin.c
diff --git
a/client/admin.c
b/client/admin.c
index
ed9db68
..
c7fb4e6
100644
(file)
--- a/
client/admin.c
+++ b/
client/admin.c
@@
-241,7
+241,7
@@
int cmd_adm_import(const char *arg)
#if OCT_SIZE
oct->size = status.st_size;
#endif
#if OCT_SIZE
oct->size = status.st_size;
#endif
- oct->buf = (unsigned char *) odr_malloc (out, oct->len);
+ oct->buf = (char *) odr_malloc (out, oct->len);
if (fread(oct->buf, 1, oct->len, inf) != (size_t) oct->len)
{
printf("Incomplete read of file %s\n", fname);
if (fread(oct->buf, 1, oct->len, inf) != (size_t) oct->len)
{
printf("Incomplete read of file %s\n", fname);