1
0
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:
Witold Filipczyk 2022-01-13 20:16:22 +01:00
parent de2bf98680
commit b9f696ffe5

View File

@ -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. */