[tex-k] Patch for -Wall

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Wed Dec 28 07:34:38 CET 2005


> diff -dcr /home/ms/tex/pdftex/releases/pdftex-1.30.5/src/texk/kpathsea/tex-make.c kpathsea/tex-make.c
> *** /home/ms/tex/pdftex/releases/pdftex-1.30.5/src/texk/kpathsea/tex-make.c	Tue Jul 26 13:16:30 2005
...
...
> *** 72,78 ****
>                     sprintf(q, "%u+%u/(%u*%u)", dpi/bdpi, dpi%bdpi, f, bdpi/f);
>                 }
>             } else {
> !               sprintf(q, "%u+%u/(4000 + %u)", dpi/bdpi, dpi%bdpi, bdpi, r);
>             }
>         }
>     } else {
> --- 73,79 ----
>                     sprintf(q, "%u+%u/(%u*%u)", dpi/bdpi, dpi%bdpi, f, bdpi/f);
>                 }
>             } else {
> !               sprintf(q, "%u+%u/(4000 + %u)", dpi/bdpi, dpi%bdpi, bdpi);
>             }
>         }

I suspect the above should be

*** 72,78 ****
                    sprintf(q, "%u+%u/(%u*%u)", dpi/bdpi, dpi%bdpi, f, bdpi/f);
                }
            } else {
!               sprintf(q, "%u+%u/(4000 + %u)", dpi/bdpi, dpi%bdpi, bdpi, r);
            }
        }
    } else {
--- 73,79 ----
                    sprintf(q, "%u+%u/(%u*%u)", dpi/bdpi, dpi%bdpi, f, bdpi/f);
                }
            } else {
!               sprintf(q, "%u+%u/(4000 + %u)", dpi/bdpi, dpi%bdpi, r);
            }
        }

Best
Akira



More information about the tex-k mailing list