summaryrefslogtreecommitdiffstats
path: root/src/rx_check_header.cpp
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-11-08 15:08:07 +0200
committerimarom <imarom@cisco.com>2015-11-08 15:08:07 +0200
commit38dc2db83370ee9d2483a09f4451a5c0f1167cee (patch)
tree3f8b2d4f5efa627a2e8a7da4ca2623e1a91c2d80 /src/rx_check_header.cpp
parentbc7d9ee81604fd33607569ac4f03ca8b91777b29 (diff)
fixed all warnings
now compiles with -Wall -Werror
Diffstat (limited to 'src/rx_check_header.cpp')
-rwxr-xr-xsrc/rx_check_header.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rx_check_header.cpp b/src/rx_check_header.cpp
index 8ee580db..5934ee15 100755
--- a/src/rx_check_header.cpp
+++ b/src/rx_check_header.cpp
@@ -42,11 +42,11 @@ void CRx_check_header::dump(FILE *fd){
void CNatOption::dump(FILE *fd){
- fprintf(fd," op : %lx \n",get_option_type());
- fprintf(fd," ol : %lx \n",get_option_len());
- fprintf(fd," thread_id : %lx \n",get_thread_id());
- fprintf(fd," magic : %lx \n",get_magic());
- fprintf(fd," fid : %lx \n",get_fid());
+ fprintf(fd," op : %x \n",get_option_type());
+ fprintf(fd," ol : %x \n",get_option_len());
+ fprintf(fd," thread_id : %x \n",get_thread_id());
+ fprintf(fd," magic : %x \n",get_magic());
+ fprintf(fd," fid : %x \n",get_fid());
utl_DumpBuffer(stdout,(void *)&u.m_data[0],8,0);
}