| From d9b60abdfd42e3634dbd89dea6007941cf456282 Mon Sep 17 00:00:00 2001 |
| From: "Allen.Ye" <allen.ye@mediatek.com> |
| Date: Mon, 4 Sep 2023 10:55:47 +0800 |
| Subject: [PATCH] fix 64bit compile error |
| |
| --- |
| source/TR-181/board_sbapi/cosa_dhcpv6_apis.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/source/TR-181/board_sbapi/cosa_dhcpv6_apis.c b/source/TR-181/board_sbapi/cosa_dhcpv6_apis.c |
| index f910130..f77f90e 100755 |
| --- a/source/TR-181/board_sbapi/cosa_dhcpv6_apis.c |
| +++ b/source/TR-181/board_sbapi/cosa_dhcpv6_apis.c |
| @@ -9196,7 +9196,7 @@ dhcpv6c_dbg_thrd(void * in) |
| if (strlen(globalIP2) != 0 ) |
| { |
| g_dhcpv6s_refresh_count = bRestartLan; |
| - CcspTraceWarning(("%s: g_dhcpv6s_refresh_count %ld, globalIP2 is %s, strlen is %d\n", __func__, g_dhcpv6s_refresh_count,globalIP2,strlen(globalIP2))); |
| + CcspTraceWarning(("%s: g_dhcpv6s_refresh_count %ld, globalIP2 is %s, strlen is %ld\n", __func__, g_dhcpv6s_refresh_count,globalIP2,strlen(globalIP2))); |
| } |
| |
| rc = strcpy_s(globalIP2, sizeof(globalIP2), globalIP); |
| -- |
| 2.18.0 |
| |