mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
fixed some warnings
svn path=/trunk/; revision=19730
This commit is contained in:
parent
1756c4a269
commit
b60174b09d
1 changed files with 9 additions and 9 deletions
|
@ -119,8 +119,8 @@
|
||||||
typedef struct _ROPINFO
|
typedef struct _ROPINFO
|
||||||
{
|
{
|
||||||
unsigned RopCode;
|
unsigned RopCode;
|
||||||
char *Name;
|
const char *Name;
|
||||||
char *Operation;
|
const char *Operation;
|
||||||
int UsesDest;
|
int UsesDest;
|
||||||
int UsesSource;
|
int UsesSource;
|
||||||
int UsesPattern;
|
int UsesPattern;
|
||||||
|
@ -170,7 +170,7 @@ FindRopInfo(unsigned RopCode)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
Output(FILE *Out, char *Fmt, ...)
|
Output(FILE *Out, const char *Fmt, ...)
|
||||||
{
|
{
|
||||||
static unsigned Indent = 0;
|
static unsigned Indent = 0;
|
||||||
static int AtBOL = 1;
|
static int AtBOL = 1;
|
||||||
|
@ -253,9 +253,9 @@ static void
|
||||||
CreateOperation(FILE *Out, unsigned Bpp, PROPINFO RopInfo, unsigned SourceBpp,
|
CreateOperation(FILE *Out, unsigned Bpp, PROPINFO RopInfo, unsigned SourceBpp,
|
||||||
unsigned Bits)
|
unsigned Bits)
|
||||||
{
|
{
|
||||||
char *Cast;
|
const char *Cast;
|
||||||
char *Dest;
|
const char *Dest;
|
||||||
char *Template;
|
const char *Template;
|
||||||
|
|
||||||
MARK(Out);
|
MARK(Out);
|
||||||
if (32 == Bits)
|
if (32 == Bits)
|
||||||
|
@ -307,7 +307,7 @@ CreateOperation(FILE *Out, unsigned Bpp, PROPINFO RopInfo, unsigned SourceBpp,
|
||||||
static void
|
static void
|
||||||
CreateBase(FILE *Out, int Source, int Flags, unsigned Bpp)
|
CreateBase(FILE *Out, int Source, int Flags, unsigned Bpp)
|
||||||
{
|
{
|
||||||
char *What = (Source ? "Source" : "Dest");
|
const char *What = (Source ? "Source" : "Dest");
|
||||||
|
|
||||||
MARK(Out);
|
MARK(Out);
|
||||||
Output(Out, "%sBase = (char *) BltInfo->%sSurface->pvScan0 +\n", What, What);
|
Output(Out, "%sBase = (char *) BltInfo->%sSurface->pvScan0 +\n", What, What);
|
||||||
|
@ -370,8 +370,8 @@ static void
|
||||||
CreateGetSource(FILE *Out, unsigned Bpp, PROPINFO RopInfo, int Flags,
|
CreateGetSource(FILE *Out, unsigned Bpp, PROPINFO RopInfo, int Flags,
|
||||||
unsigned SourceBpp, unsigned Shift)
|
unsigned SourceBpp, unsigned Shift)
|
||||||
{
|
{
|
||||||
char *AssignOp;
|
const char *AssignOp;
|
||||||
char *Before;
|
const char *Before;
|
||||||
char After[8];
|
char After[8];
|
||||||
|
|
||||||
MARK(Out);
|
MARK(Out);
|
||||||
|
|
Loading…
Reference in a new issue