diff options
-rw-r--r-- | epan/reedsolomon.c | 4 | ||||
-rw-r--r-- | ui/gtk/extcap_gtk.c | 2 | ||||
-rw-r--r-- | wsutil/time_util.c | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/epan/reedsolomon.c b/epan/reedsolomon.c index c47ba4cbe9..1249654b82 100644 --- a/epan/reedsolomon.c +++ b/epan/reedsolomon.c @@ -463,7 +463,7 @@ eras_dec_rs(dtype data[NN], int eras_pos[NN-KK], int no_eras) syn_error = 0; for(i=1;i<=NN-KK;i++){ syn_error |= s[i]; - /*printf("syndrome %d = %x\n",i,s[i]);*/ + /*ws_debug_printf("syndrome %d = %x\n",i,s[i]);*/ s[i] = Index_of[s[i]]; } @@ -649,7 +649,7 @@ eras_dec_rs(dtype data[NN], int eras_pos[NN-KK], int no_eras) } if (den == 0) { #if DEBUG >= 1 - printf("\n ERROR: denominator = 0\n"); + ws_debug_printf("\n ERROR: denominator = 0\n"); #endif /* Convert to dual- basis */ count = -1; diff --git a/ui/gtk/extcap_gtk.c b/ui/gtk/extcap_gtk.c index a1353c0c5d..55d93892c9 100644 --- a/ui/gtk/extcap_gtk.c +++ b/ui/gtk/extcap_gtk.c @@ -609,7 +609,7 @@ static GtkWidget *extcap_create_gtk_fileselect(extcap_arg *argument, #if GTK_CHECK_VERSION(3, 0, 0) ret_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 3); #else - ret_box = gtk_hbox_new(FALSE, 3); + ret_box = ws_gtk_hbox_new(FALSE, 3); #endif gtk_box_pack_start ( GTK_BOX(ret_box), entry, TRUE, TRUE, 5 ); diff --git a/wsutil/time_util.c b/wsutil/time_util.c index 5f6ac8a39f..cf209bfbb3 100644 --- a/wsutil/time_util.c +++ b/wsutil/time_util.c @@ -32,6 +32,7 @@ #else #include <windows.h> #endif +#include "ws_printf.h" /* ws_g_warning */ /* converts a broken down date representation, relative to UTC, * to a timestamp; it uses timegm() if it's available. @@ -114,7 +115,7 @@ void log_resource_usage(gboolean reset_delta, const char *format, ...) { g_string_append_vprintf(log_str, format, ap); va_end(ap); - g_warning("%s", log_str->str); + ws_g_warning("%s", log_str->str); g_string_free(log_str, TRUE); } |