src/ldObject.cc

changeset 714
b4a990f59a5e
parent 706
d79083b9f74d
parent 662
2f1bd9112408
child 717
fdc285e5952f
--- a/src/ldObject.cc	Thu Apr 17 20:48:31 2014 +0300
+++ b/src/ldObject.cc	Thu Apr 17 20:50:43 2014 +0300
@@ -409,7 +409,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
@@ -464,7 +464,7 @@
 		if (count == 0)
 			continue;
 
-		if (!firstDetails)
+		if (not firstDetails)
 			text += ", ";
 
 		QString noun = format ("%1%2", typeName (objType), plural (count));

mercurial