]> git.lyx.org Git - features.git/commitdiff
compilation fix
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 29 Sep 2008 10:13:28 +0000 (10:13 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 29 Sep 2008 10:13:28 +0000 (10:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26616 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/FileName.cpp

index a625e01e4e2d0a53bdbf30e6b038290b7aa95d3d..35c0f136d746f39c16bf3e5bee4c72a8fbabf4cd 100644 (file)
@@ -512,7 +512,7 @@ unsigned long FileName::checksum() const
 
        boost::crc_32_type crc;
        crc.process_block(beg, end);
-       unsigned long result = crc.checksum();
+       result = crc.checksum();
 
        munmap(mm, info.st_size);
        close(fd);