Mercurial > hg > wm
diff Meerwald/wm_kund2_e.c @ 15:ad1d224896c5
fix scanf() warning
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Mon, 30 Jun 2008 20:59:01 +0200 |
parents | f83ef905a63d |
children |
line wrap: on
line diff
--- a/Meerwald/wm_kund2_e.c Mon Jun 30 15:46:32 2008 +0200 +++ b/Meerwald/wm_kund2_e.c Mon Jun 30 20:59:01 2008 +0200 @@ -50,7 +50,7 @@ Image_tree dwts, p; gray maxval; - int rows, cols, colors, format; + int rows, cols, format; progname = argv[0]; @@ -160,7 +160,7 @@ else fscanf(sig, "%*d\n"); if (!strcmp(filter_name, "")) - fscanf(sig, "%[^\n\r]\n", &filter_name); + fscanf(sig, "%[^\n\r]\n", filter_name); else fscanf(sig, "%*[^\n\r]\n"); if (level == 0)