lwip: Make LWIP_SOCKET_OFFSET signed, remove need for underflow check

This reverts commit 541493d877.
This commit is contained in:
Angus Gratton
2017-10-20 18:00:36 +08:00
committed by Angus Gratton
parent 22756b6c02
commit e5ae0f5927
5 changed files with 9 additions and 9 deletions

View File

@@ -205,7 +205,7 @@ esp_err_t esp_vfs_register(const char* base_path, const esp_vfs_t* vfs, void* ct
* @return ESP_OK if successful, ESP_ERR_NO_MEM if too many VFSes are
* registered.
*/
esp_err_t esp_vfs_register_socket_space(const esp_vfs_t *vfs, void *ctx, unsigned *p_min_fd, unsigned *p_max_fd);
esp_err_t esp_vfs_register_socket_space(const esp_vfs_t *vfs, void *ctx, int *p_min_fd, int *p_max_fd);
/**
* Unregister a virtual filesystem for given path prefix