diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-21 07:26:26 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-21 07:26:26 +0100 |
commit | fa2d3b6517e3fdc72d8db57ac7ef930754fceb0d (patch) | |
tree | 67ccd6cb743dd5a578b959f9c21793a8f28c8678 /etisnoop | |
parent | dc2c1e329002b05fb2ec5fa0f195b2ea62e2c82f (diff) | |
download | mmbtools-aux-fa2d3b6517e3fdc72d8db57ac7ef930754fceb0d.tar.gz mmbtools-aux-fa2d3b6517e3fdc72d8db57ac7ef930754fceb0d.tar.bz2 mmbtools-aux-fa2d3b6517e3fdc72d8db57ac7ef930754fceb0d.zip |
Remove warnings
Diffstat (limited to 'etisnoop')
-rw-r--r-- | etisnoop/etisnoop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etisnoop/etisnoop.cpp b/etisnoop/etisnoop.cpp index 685c4ac..6f15178 100644 --- a/etisnoop/etisnoop.cpp +++ b/etisnoop/etisnoop.cpp @@ -77,7 +77,7 @@ struct eti_analyse_config_t { int eti_analyse(eti_analyse_config_t& config); -char* get_fig_0_13_userapp(int user_app_type) +std::string get_fig_0_13_userapp(int user_app_type) { switch (user_app_type) { case 0x000: return "Reserved for future definition"; @@ -721,7 +721,7 @@ void decodeFIG(unsigned char* f, sprintf(desc, "User Application %d '%s'; length %u", user_app_type, - get_fig_0_13_userapp(user_app_type), + get_fig_0_13_userapp(user_app_type).c_str(), user_app_len); printbuf(desc, indent+2, NULL, 0); } |