Commit 355e90ef authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: Corrected used type (int) -> (size_t)

parent 40c5751a
...@@ -271,7 +271,7 @@ struct ice_config_tag { ...@@ -271,7 +271,7 @@ struct ice_config_tag {
char *yp_url[MAX_YP_DIRECTORIES]; char *yp_url[MAX_YP_DIRECTORIES];
int yp_url_timeout[MAX_YP_DIRECTORIES]; int yp_url_timeout[MAX_YP_DIRECTORIES];
int yp_touch_interval[MAX_YP_DIRECTORIES]; int yp_touch_interval[MAX_YP_DIRECTORIES];
int num_yp_directories; size_t num_yp_directories;
}; };
typedef struct { typedef struct {
......
...@@ -216,7 +216,7 @@ static ypdata_t *find_yp_mount (ypdata_t *mounts, const char *mount) ...@@ -216,7 +216,7 @@ static ypdata_t *find_yp_mount (ypdata_t *mounts, const char *mount)
void yp_recheck_config (ice_config_t *config) void yp_recheck_config (ice_config_t *config)
{ {
int i; size_t i;
struct yp_server *server; struct yp_server *server;
ICECAST_LOG_DEBUG("Updating YP configuration"); ICECAST_LOG_DEBUG("Updating YP configuration");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment