1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description: fix PhraseLevel declared without type
The attached patch introduces the type declaration.
.
Author: Michael Tautschnig <mt@debian.org>
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/795725
---
Reviewed-By: xiao sheng wen <atzlinux@sina.com>
Last-Update: 2021-01-07
--- unicon-3.0.4+dfsg1.orig/unicon/ImmModules/turbo/levelphrase.c
+++ unicon-3.0.4+dfsg1/unicon/ImmModules/turbo/levelphrase.c
@@ -169,7 +169,7 @@ void WriteAllResult (char *szFileName)
FILE *fp;
int i;
fp = fopen (szFileName, "wt");
- fprintf (fp, "PhraseLevel[256] = { \n ");
+ fprintf (fp, "int PhraseLevel[256] = { \n ");
for (i = 0; i < 256; i++)
{
if (i % 16 == 0)
--- unicon-3.0.4+dfsg1.orig/unicon/ImmModules/turbo/test.h
+++ unicon-3.0.4+dfsg1/unicon/ImmModules/turbo/test.h
@@ -1,4 +1,4 @@
-PhraseLevel[256] = {
+int PhraseLevel[256] = {
0,30,60,90,120,150,180,210,240,270,300,330,360,390,420,450,
480,510,540,570,600,630,660,690,720,750,780,810,840,870,900,930,
|