-#define tcpRESET_DELAY ( ( portTickType ) 16 / portTICK_RATE_MS )\r
-#define tcpINIT_DELAY ( ( portTickType ) 500 / portTICK_RATE_MS )\r
-#define tcpLONG_DELAY ( ( portTickType ) 500 / portTICK_RATE_MS )\r
-#define tcpSHORT_DELAY ( ( portTickType ) 5 / portTICK_RATE_MS )\r
-#define tcpCONNECTION_WAIT_DELAY ( ( portTickType ) 100 / portTICK_RATE_MS )\r
-#define tcpNO_DELAY ( ( portTickType ) 0 )\r
+#define tcpRESET_DELAY ( ( TickType_t ) 16 / portTICK_PERIOD_MS )\r
+#define tcpINIT_DELAY ( ( TickType_t ) 500 / portTICK_PERIOD_MS )\r
+#define tcpLONG_DELAY ( ( TickType_t ) 500 / portTICK_PERIOD_MS )\r
+#define tcpSHORT_DELAY ( ( TickType_t ) 5 / portTICK_PERIOD_MS )\r
+#define tcpCONNECTION_WAIT_DELAY ( ( TickType_t ) 100 / portTICK_PERIOD_MS )\r
+#define tcpNO_DELAY ( ( TickType_t ) 0 )\r