PERFORCE change 230775 for review

Jonathan Anderson jonathan at FreeBSD.org
Sun Jul 7 10:20:25 UTC 2013


http://p4web.freebsd.org/@@230775?ac=10

Change 230775 by jonathan at jonathan-on-joe on 2013/07/07 10:19:50

	Fix signed/unsigned comparison.

Affected files ...

.. //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/libtesla/tesla_update.c#10 edit

Differences ...

==== //depot/projects/ctsrd/tesla/src/sys/contrib/tesla/libtesla/tesla_update.c#10 (text+ko) ====

@@ -143,7 +143,7 @@
 #ifndef	NDEBUG
 			{
 			int target = -1;
-			for (int j = 0; j < class->tc_limit; j++) {
+			for (uint32_t j = 0; j < class->tc_limit; j++) {
 				tesla_instance *t = class->tc_instances + j;
 				if (t->ti_state == trigger->to) {
 					target = j;


More information about the p4-projects mailing list