[49192] trunk/base/src/tclobjc1.0/tclobjc.m

toby at macports.org toby at macports.org
Sun Apr 5 02:45:28 PDT 2009


Revision: 49192
          http://trac.macports.org/changeset/49192
Author:   toby at macports.org
Date:     2009-04-05 02:45:26 -0700 (Sun, 05 Apr 2009)
Log Message:
-----------
silence warning

Modified Paths:
--------------
    trunk/base/src/tclobjc1.0/tclobjc.m

Modified: trunk/base/src/tclobjc1.0/tclobjc.m
===================================================================
--- trunk/base/src/tclobjc1.0/tclobjc.m	2009-04-05 07:32:28 UTC (rev 49191)
+++ trunk/base/src/tclobjc1.0/tclobjc.m	2009-04-05 09:45:26 UTC (rev 49192)
@@ -115,7 +115,7 @@
 		} else if (arg_type[0] == _C_UINT) {
             long value;
             if (Tcl_GetLongFromObj(interp, objv[i], &value) == TCL_OK) {
-                if (value > UINT_MAX || value < 0) {
+                if ((unsigned int)value > UINT_MAX || value < 0) {
                     NSString *str = [NSString stringWithFormat:@"Unsigned integer argument invalid: %ld", value];
                     Tcl_Obj *tcl_result = Tcl_NewStringObj([str UTF8String], -1);
                     Tcl_SetObjResult(interp, tcl_result);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090405/08e23468/attachment-0001.html>


More information about the macports-changes mailing list