]> git.puffer.fish Git - mirror/frr.git/commit
[ospfd] Fix failure of Fletcher checksum with certain compilers
authorPaul Jakma <paul.jakma@sun.com>
Thu, 30 Mar 2006 14:34:31 +0000 (14:34 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Thu, 30 Mar 2006 14:34:31 +0000 (14:34 +0000)
commit075c2011bbec618934637ead3fd6dec65cd30a45
tree47e252e3f2d524a520d9be081af0bbaa2963e5c7
parentd4ce4f681e04bdd11f5bc7ab30bc6e9048fdf6d2
[ospfd] Fix failure of Fletcher checksum with certain compilers

2006-03-27 Paul Jakma <paul.jakma@sun.com>

* ospf_lsa.c: (ospf_lsa_checksum) Add an explicit cast to avoid
  the ambiguities of ANSI and C99 C with respect to type
  conversion. Detailed problem report and test case with
  example data supplied by Dmitry Ivanov <dimss@telecentrs.lv>.
ospfd/ChangeLog
ospfd/ospf_lsa.c