diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-23 08:20:59 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-23 08:20:59 (GMT) |
commit | 154f6e364d28d67ef3d2f09c4a991d46e53ad2d4 (patch) | |
tree | 37920bd2c6638576740676bb5d14c0c8891a18a6 | |
parent | bcd88b005a09280f4b9725d611fd3763fd07241f (diff) | |
download | tcl-154f6e364d28d67ef3d2f09c4a991d46e53ad2d4.zip tcl-154f6e364d28d67ef3d2f09c4a991d46e53ad2d4.tar.gz tcl-154f6e364d28d67ef3d2f09c4a991d46e53ad2d4.tar.bz2 |
fix MSVC warning: tclStubInit.c(306) : warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'int (__cdecl *)(int ,int )'
-rw-r--r-- | generic/tclStubInit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c index 8f42f96..a300afc 100644 --- a/generic/tclStubInit.c +++ b/generic/tclStubInit.c @@ -46,9 +46,7 @@ # define TclSockMinimumBuffersOld 0 #else #define TclSockMinimumBuffersOld sockMinimumBuffersOld -static int TclSockMinimumBuffersOld(sock, size) - int sock; - int size; +static int TclSockMinimumBuffersOld(int sock, int size) { return TclSockMinimumBuffers(INT2PTR(sock), size); } |