]> git.lyx.org Git - lyx.git/commitdiff
Squash warning from my compiler.
authorAngus Leeming <leeming@lyx.org>
Tue, 26 Mar 2002 12:12:29 +0000 (12:12 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 26 Mar 2002 12:12:29 +0000 (12:12 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3835 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlRef.C

index 14130ed3a1ffa976bcc2961e0e2b7501397a493a..9a54d53b04b9c2ebd844a712dbd1b2095f929a48 100644 (file)
@@ -1,3 +1,7 @@
+2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * ControlRef.C (getBufferNum): squash warning message.
+
 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
 
        * ControlBibtex.C (Browse):
index 295c3c9091f54f5c222506b896a7327f94cdcc3c..5aac880b9cf3665848e3d5092287498232d61b8c 100644 (file)
@@ -85,7 +85,7 @@ int ControlRef::getBufferNum() const
                find(buffers.begin(), buffers.end(), name);
        if (cit == buffers.end())
                return 0;
-       return cit - buffers.begin();
+       return int(cit - buffers.begin());
 }
 
 string const ControlRef::getBufferName(int num) const