Commit 08e90a67 authored by yunshou-yang's avatar yunshou-yang

updata src/oai_smf/nas_sm_encode_to_json.c warning

parent 4e59db76
...@@ -432,7 +432,7 @@ int sm_encode_establishment_accept(void) ...@@ -432,7 +432,7 @@ int sm_encode_establishment_accept(void)
size += MESSAGE_TYPE_MAXIMUM_LENGTH; size += MESSAGE_TYPE_MAXIMUM_LENGTH;
//memcpy(&nas_msg.plain.sm,&nas_msg.security_protected.plain.sm,sizeof(nas_msg.security_protected.plain.sm)); //memcpy(&nas_msg.plain.sm,&nas_msg.security_protected.plain.sm,sizeof(nas_msg.security_protected.plain.sm));
printf("nas_msg.security_protected.plain.sm = %d\n",sizeof(nas_msg.security_protected.plain.sm));
nas_msg.plain.sm = *sm_msg; nas_msg.plain.sm = *sm_msg;
//complete sm msg content //complete sm msg content
...@@ -1422,7 +1422,6 @@ int sm_encode_modification_request(void) ...@@ -1422,7 +1422,6 @@ int sm_encode_modification_request(void)
size += MESSAGE_TYPE_MAXIMUM_LENGTH; size += MESSAGE_TYPE_MAXIMUM_LENGTH;
//memcpy(&nas_msg.plain.sm,&nas_msg.security_protected.plain.sm,sizeof(nas_msg.security_protected.plain.sm)); //memcpy(&nas_msg.plain.sm,&nas_msg.security_protected.plain.sm,sizeof(nas_msg.security_protected.plain.sm));
printf("nas_msg.security_protected.plain.sm = %d\n",sizeof(nas_msg.security_protected.plain.sm));
nas_msg.plain.sm = *sm_msg; nas_msg.plain.sm = *sm_msg;
//complete sm msg content //complete sm msg content
...@@ -1927,7 +1926,6 @@ int sm_encode_modification_command(void) ...@@ -1927,7 +1926,6 @@ int sm_encode_modification_command(void)
size += MESSAGE_TYPE_MAXIMUM_LENGTH; size += MESSAGE_TYPE_MAXIMUM_LENGTH;
//memcpy(&nas_msg.plain.sm,&nas_msg.security_protected.plain.sm,sizeof(nas_msg.security_protected.plain.sm)); //memcpy(&nas_msg.plain.sm,&nas_msg.security_protected.plain.sm,sizeof(nas_msg.security_protected.plain.sm));
printf("nas_msg.security_protected.plain.sm = %d\n",sizeof(nas_msg.security_protected.plain.sm));
nas_msg.plain.sm = *sm_msg; nas_msg.plain.sm = *sm_msg;
//complete sm msg content //complete sm msg content
......
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