Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1758f2d8
Commit
1758f2d8
authored
Feb 25, 2000
by
James Abbatiello
Committed by
Alexandre Julliard
Feb 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc. fixes for compiler warnings.
parent
89aa8616
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
37 additions
and
29 deletions
+37
-29
msc.c
debugger/msc.c
+1
-1
stabs.c
debugger/stabs.c
+1
-1
draglist.c
dlls/comctl32/draglist.c
+2
-0
ddraw.c
graphics/ddraw.c
+1
-1
debugger.h
include/debugger.h
+1
-1
comm.c
misc/comm.c
+1
-1
ole2nls.c
ole/ole2nls.c
+23
-23
snoop.c
relay32/snoop.c
+2
-0
build.c
tools/build.c
+2
-0
multimon.c
windows/multimon.c
+2
-0
monitor.c
windows/x11drv/monitor.c
+1
-1
No files found.
debugger/msc.c
View file @
1758f2d8
...
...
@@ -1451,7 +1451,7 @@ DEBUG_RegisterDebugInfo( HMODULE hModule, const char *module_name)
* can make 'info shared' types of displays possible.
*/
int
DEBUG_RegisterELFDebugInfo
(
int
load_addr
,
u_long
size
,
char
*
name
)
DEBUG_RegisterELFDebugInfo
(
int
load_addr
,
u_long
size
,
c
onst
c
har
*
name
)
{
struct
deferred_debug_info
*
deefer
;
...
...
debugger/stabs.c
View file @
1758f2d8
...
...
@@ -1177,7 +1177,7 @@ DEBUG_ProcessElfSymtab(char * addr, unsigned int load_offset,
static
int
DEBUG_ProcessElfObject
(
char
*
filename
,
unsigned
int
load_offset
)
DEBUG_ProcessElfObject
(
c
onst
c
har
*
filename
,
unsigned
int
load_offset
)
{
int
rtn
=
FALSE
;
struct
stat
statbuf
;
...
...
dlls/comctl32/draglist.c
View file @
1758f2d8
...
...
@@ -93,12 +93,14 @@ INT WINAPI LBItemFromPt (HWND hwndLB, POINT pt, BOOL bAutoScroll)
}
#if 0
static LRESULT CALLBACK
DRAGLIST_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
return FALSE;
}
#endif
graphics/ddraw.c
View file @
1758f2d8
...
...
@@ -4685,7 +4685,7 @@ static HRESULT WINAPI Xlib_IDirectDraw2Impl_EnumDisplayModes(
XVisualInfo
*
vi
;
XPixmapFormatValues
*
pf
;
XVisualInfo
vt
;
int
xbpp
,
nvisuals
,
npixmap
,
i
,
emu
;
int
xbpp
=
1
,
nvisuals
,
npixmap
,
i
,
emu
;
int
has_mode
[]
=
{
0
,
0
,
0
,
0
};
int
has_depth
[]
=
{
8
,
15
,
16
,
24
};
DDSURFACEDESC
ddsfd
;
...
...
include/debugger.h
View file @
1758f2d8
...
...
@@ -283,7 +283,7 @@ extern int DEBUG_ParseStabs(char * addr, unsigned int load_offset, unsigned int
/* debugger/msc.c */
extern
int
DEBUG_RegisterDebugInfo
(
HMODULE
,
const
char
*
);
extern
int
DEBUG_ProcessDeferredDebug
(
void
);
extern
int
DEBUG_RegisterELFDebugInfo
(
int
load_addr
,
u_long
size
,
char
*
name
);
extern
int
DEBUG_RegisterELFDebugInfo
(
int
load_addr
,
u_long
size
,
c
onst
c
har
*
name
);
extern
void
DEBUG_InfoShare
(
void
);
extern
void
DEBUG_InitCVDataTypes
(
void
);
...
...
misc/comm.c
View file @
1758f2d8
...
...
@@ -2374,7 +2374,7 @@ BOOL WINAPI GetCommTimeouts(HANDLE hcom,LPCOMMTIMEOUTS lptimeouts)
* SetCommTimeouts (KERNEL32.453)
*/
BOOL
WINAPI
SetCommTimeouts
(
HANDLE
hcom
,
LPCOMMTIMEOUTS
lptimeouts
)
{
struct
DosDeviceStruct
*
ptr
;
/* struct DosDeviceStruct *ptr; */
struct
termios
tios
;
int
fd
;
...
...
ole/ole2nls.c
View file @
1758f2d8
...
...
@@ -3193,7 +3193,7 @@ INT WINAPI GetNumberFormatA(LCID locale, DWORD dwflags,
UINT
thisnegativeorder
;
LPSTR
sptr
;
LP
C
STR
sptr
;
LPSTR
dptr
;
char
roundbuffer
[
24
];
/* Should be enough */
char
*
gptr
;
...
...
@@ -3334,28 +3334,28 @@ INT WINAPI GetNumberFormatA(LCID locale, DWORD dwflags,
*/
if
(
decsize
>
0
&&
decsize
>
thisnumdigits
)
{
sptr
-=
(
decsize
-
thisnumdigits
);
if
(
*
sptr
>=
'5'
)
{
strcpy
(
roundbuffer
+
1
,
lpValue
);
if
(
negflag
)
{
*
roundbuffer
=
'-'
;
*
(
roundbuffer
+
1
)
=
'0'
;
}
else
*
roundbuffer
=
'0'
;
s
ptr
=
roundbuffer
+
(
sptr
-
lpValue
);
// +1-1
while
(
(
++*
s
ptr
)
>
'9'
)
{
*
(
s
ptr
--
)
=
'0'
;
if
(
*
sptr
==
'.'
)
s
ptr
--
;
}
if
((
negflag
?
*
(
roundbuffer
+
leadingzeros
+
1
)
:
*
(
roundbuffer
+
leadingzeros
))
==
'1'
)
intsize
++
;
sptr
=
roundbuffer
;
}
else
sptr
=
lpValue
;
}
else
sptr
=
lpValue
;
sptr
-=
(
decsize
-
thisnumdigits
);
if
(
*
sptr
>=
'5'
)
{
strcpy
(
roundbuffer
+
1
,
lpValue
);
if
(
negflag
)
{
*
roundbuffer
=
'-'
;
*
(
roundbuffer
+
1
)
=
'0'
;
}
else
*
roundbuffer
=
'0'
;
d
ptr
=
roundbuffer
+
(
sptr
-
lpValue
);
// +1-1
while
(
(
++*
d
ptr
)
>
'9'
)
{
*
(
d
ptr
--
)
=
'0'
;
if
(
*
dptr
==
'.'
)
d
ptr
--
;
}
if
((
negflag
?
*
(
roundbuffer
+
leadingzeros
+
1
)
:
*
(
roundbuffer
+
leadingzeros
))
==
'1'
)
intsize
++
;
sptr
=
roundbuffer
;
}
else
sptr
=
lpValue
;
}
else
sptr
=
lpValue
;
totalsize
=
intsize
;
...
...
relay32/snoop.c
View file @
1758f2d8
...
...
@@ -10,6 +10,8 @@
#include <stdio.h>
#include <string.h>
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winnt.h"
#include "heap.h"
#include "builtin32.h"
...
...
tools/build.c
View file @
1758f2d8
...
...
@@ -753,10 +753,12 @@ static void ParseTopLevel(void)
}
if
(
!
DLLFileName
[
0
])
{
if
(
SpecMode
==
SPEC_MODE_DLL
)
sprintf
(
DLLFileName
,
"%s.DLL"
,
DLLName
);
else
sprintf
(
DLLFileName
,
"%s.EXE"
,
DLLName
);
}
}
...
...
windows/multimon.c
View file @
1758f2d8
...
...
@@ -23,6 +23,7 @@ MONITOR MONITOR_PrimaryMonitor;
/***********************************************************************
* MONITOR_GetMonitor
*/
#if 0
static MONITOR *MONITOR_GetMonitor(HMONITOR hMonitor)
{
if(hMonitor == xPRIMARY_MONITOR)
...
...
@@ -34,6 +35,7 @@ static MONITOR *MONITOR_GetMonitor(HMONITOR hMonitor)
return NULL;
}
}
#endif
/***********************************************************************
* MONITOR_Initialize
...
...
windows/x11drv/monitor.c
View file @
1758f2d8
...
...
@@ -114,7 +114,7 @@ static void X11DRV_MONITOR_CreateDesktop(MONITOR *pMonitor)
wm_hints
->
flags
=
InputHint
|
StateHint
;
wm_hints
->
input
=
True
;
wm_hints
->
initial_state
=
NormalState
;
class_hints
->
res_name
=
argv0
;
class_hints
->
res_name
=
(
char
*
)
argv0
;
class_hints
->
res_class
=
"Wine"
;
TSXStringListToTextProperty
(
&
name
,
1
,
&
window_name
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment