summaryrefslogtreecommitdiffstats
path: root/generic/tkGrab.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-09-06 19:02:16 (GMT)
committerhobbs <hobbs>2000-09-06 19:02:16 (GMT)
commitc0c8fdf7242c0185b8f676efc35d2e116c505307 (patch)
treec953a17442b0bf964a8204101328ab96bb20f4e2 /generic/tkGrab.c
parentb670d5b82370e3932b72bcf3299a2ceb35a9df7b (diff)
downloadtk-c0c8fdf7242c0185b8f676efc35d2e116c505307.zip
tk-c0c8fdf7242c0185b8f676efc35d2e116c505307.tar.gz
tk-c0c8fdf7242c0185b8f676efc35d2e116c505307.tar.bz2
* generic/tkGrab.c (Tk_GrabObjCmd): changed len arg from size_t to
int to fix pedantic warning.
Diffstat (limited to 'generic/tkGrab.c')
-rw-r--r--generic/tkGrab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkGrab.c b/generic/tkGrab.c
index 84fad8c..e5b7fcf 100644
--- a/generic/tkGrab.c
+++ b/generic/tkGrab.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkGrab.c,v 1.5 2000/08/04 00:46:33 ericm Exp $
+ * RCS: @(#) $Id: tkGrab.c,v 1.6 2000/09/06 19:02:16 hobbs Exp $
*/
#include "tkPort.h"
@@ -201,7 +201,7 @@ Tk_GrabObjCmd(clientData, interp, objc, objv)
TkDisplay *dispPtr;
char *arg;
int index;
- size_t len;
+ int len;
static char *optionStrings[] = { "current", "release",
"set", "status", (char *) NULL };