mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[smb] unsigned char[] -> char[]
This commit is contained in:
parent
de2bf98680
commit
b9f696ffe5
@ -165,7 +165,7 @@ add_smb_dir_entry(struct directory_entry *entry, struct string *page,
|
|||||||
#ifdef FS_UNIX_SOFTLINKS
|
#ifdef FS_UNIX_SOFTLINKS
|
||||||
} else if (entry->attrib[0] == 'l') {
|
} else if (entry->attrib[0] == 'l') {
|
||||||
struct stat st;
|
struct stat st;
|
||||||
unsigned char buf[MAX_STR_LEN];
|
char buf[MAX_STR_LEN];
|
||||||
int readlen = readlink(entry->name, buf, MAX_STR_LEN);
|
int readlen = readlink(entry->name, buf, MAX_STR_LEN);
|
||||||
|
|
||||||
if (readlen > 0 && readlen != MAX_STR_LEN) {
|
if (readlen > 0 && readlen != MAX_STR_LEN) {
|
||||||
@ -209,7 +209,7 @@ static void
|
|||||||
add_smb_dir_entries(struct directory_entry *entries, char *dirpath,
|
add_smb_dir_entries(struct directory_entry *entries, char *dirpath,
|
||||||
struct string *page)
|
struct string *page)
|
||||||
{
|
{
|
||||||
unsigned char dircolor[8];
|
char dircolor[8];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* Setup @dircolor so it's easy to check if we should color dirs. */
|
/* Setup @dircolor so it's easy to check if we should color dirs. */
|
||||||
|
Loading…
Reference in New Issue
Block a user