Squelch a compiler pointer vs. integer warning - NULL is for pointers,
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 7 Jul 2005 04:05:01 +0000 (04:05 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 7 Jul 2005 04:05:01 +0000 (04:05 +0000)
'\0' is for characters.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14868 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/voip_calls_dlg.c

index ca1c1fa91c46a100e86273a9da4df4e3d3d3091b..51c3c1fdb5673a93aab4a9a12bebca8cbb4befa5 100644 (file)
@@ -786,7 +786,7 @@ voip_calls_init_tap(char *dummy _U_)
        voip_calls_get_info()->redraw = TRUE;
        for (c=0;c<NUM_COLS;c++){
                data[c]=&field[c][0];
-               field[c][0] = NULL;
+               field[c][0] = '\0';
        }
        g_snprintf(field[3], 50, "Please wait...");
        gtk_clist_append(GTK_CLIST(clist), data);