[filesystem.c] Add a cast to aviod a warning with VisualStudio 2017.

Change-Id: I95186bd54ae487e112fcb533c62bb8f9b210dc24
Reviewed-on: https://code.wireshark.org/review/22309
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Anders 2017-06-21 18:10:33 +02:00 committed by Anders Broman
parent 99c3c6d908
commit 48a6487116
1 changed files with 1 additions and 1 deletions

View File

@ -1260,7 +1260,7 @@ profile_write_info_file(void)
file = g_list_first(files);
while (file) {
filename = (gchar *)file->data;
ws_write(fd, filename, strlen(filename));
ws_write(fd, filename, (unsigned int)strlen(filename));
ws_write(fd, "\n", 1);
file = g_list_next(file);
}