src/ldObject.cc

changeset 662
2f1bd9112408
parent 655
b376645315ab
child 714
b4a990f59a5e
--- a/src/ldObject.cc	Thu Apr 10 13:58:06 2014 +0300
+++ b/src/ldObject.cc	Mon Apr 14 16:00:36 2014 +0300
@@ -368,7 +368,7 @@
 		const long idx = obj->lineNumber(),
 				   target = idx + (up ? -1 : 1);
 
-		if ((up && idx == 0) || (!up && idx == (long) (file->objects().size() - 1)))
+		if ((up && idx == 0) || (not up && idx == (long) file->objects().size() - 1l))
 		{
 			// One of the objects hit the extrema. If this happens, this should be the first
 			// object to be iterated on. Thus, nothing has changed yet and it's safe to just
@@ -423,7 +423,7 @@
 		if (count == 0)
 			continue;
 
-		if (!firstDetails)
+		if (not firstDetails)
 			text += ", ";
 
 		QString noun = format ("%1%2", typeName (objType), plural (count));

mercurial