title: error: narrowing conversion of ‘199’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
body: <p>I am trying to compile a really old software in linux debian 9.5, i keep getting this error:</p>
  
  <pre><code>janpdf/PDF.cpp: In member function ‘void PDF::OpenFile(const char*)’:
  janpdf/PDF.cpp:41:74: error: narrowing conversion of ‘199’ from ‘int’ to 
  ‘char’ inside { } [-Wnarrowing]
  char signature[] = {'%', '%', 'G' + 128, 'R' + 128, 'A' + 128, '\n', 0};
                                                                        ^
  janpdf/PDF.cpp:41:74: error: narrowing conversion of ‘210’ from ‘int’ to 
  ‘char’ inside { } [-Wnarrowing]
  janpdf/PDF.cpp:41:74: error: narrowing conversion of ‘193’ from ‘int’ to 
  ‘char’ inside { } [-Wnarrowing]
  Makefile:153: recipe for target 'janpdf/PDF.o' failed
  make: *** [janpdf/PDF.o] Error 1
  </code></pre>
  
  <p>I have already tried teh signed / unsigned 'char'approach. Although I know almos nothing about coding this is the only answer I found. Any other solution is welcome.
  thanks</p>