« Previous | Next » 

Revision fd10a04e

IDfd10a04ef185593494711ead63dbf1fc5cdbac69

Added by Andreas Färber over 14 years ago

Cocoa: Silence type warning

Add const for "qemu" character literal, to avoid:

warning: initialization discards qualifiers from pointer target type

An earlier patch by John proposed to use char5. Since we do not modify
the text and later copy it into malloc'ed memory, marking it as const
seems sufficient.

Signed-off-by: Andreas Färber <>
Cc: John Arbuckle <>
Signed-off-by: malc <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences