--- ../src/mwin/winlib/windlg.c	2010-01-09 18:31:56.000000000 +0100
+++ mwin/winlib/windlg.c	2010-04-23 18:31:30.000000000 +0200
@@ -154,10 +154,12 @@
 	char s[64];
 
 	GetWindowText(GetDlgItem(hwnd, id), s, sizeof(s));
+
+	// cspert: compatibility adaption: sscanf replaced by strtol/strtoul
 	if (bSigned)
-		n = sscanf(s, "%d", &x);
+		n = strtol (s, NULL, 10);
 	else
-		n = sscanf(s, "%u", &ux);
+		n = strtoul (s, NULL, 10);
 
 	if (pbTransl != NULL)
 		*pbTransl = (n == 1);

