Hello,
I'm coding a plugin for Wireshark. I want to use a global variable for doing some stuff which refers to all packets.
For testing I print i each time i get a packet and increment it after printing. That works fine, but my problem is, that at the first time I print i, it has the value 198 instead of 0.Code:static guint32 i = 0
I also tried other data types like gint, int.
Can somebody help me how to inialize i in a way, that is really zero.