Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f93256a5
Commit
f93256a5
authored
Aug 06, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warning fixes.
parent
a543971d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
local16.c
dlls/kernel/local16.c
+1
-1
atom.c
dlls/kernel/tests/atom.c
+1
-1
locale.c
dlls/msvcrt/locale.c
+3
-4
shell.c
dlls/shell32/shell.c
+1
-2
No files found.
dlls/kernel/local16.c
View file @
f93256a5
...
@@ -1448,7 +1448,7 @@ static HLOCAL16 LOCAL_InternalLock( LPSTR heap, HLOCAL16 handle )
...
@@ -1448,7 +1448,7 @@ static HLOCAL16 LOCAL_InternalLock( LPSTR heap, HLOCAL16 handle )
if
(
HANDLE_MOVEABLE
(
handle
))
if
(
HANDLE_MOVEABLE
(
handle
))
{
{
LOCALHANDLEENTRY
*
pEntry
=
(
LOCALHANDLEENTRY
*
)(
heap
+
handle
);
LOCALHANDLEENTRY
*
pEntry
=
(
LOCALHANDLEENTRY
*
)(
heap
+
handle
);
if
(
pEntry
->
flags
==
LMEM_DISCARDED
)
return
0
;
if
(
pEntry
->
flags
==
(
LMEM_DISCARDED
>>
8
)
)
return
0
;
if
(
pEntry
->
lock
<
0xfe
)
pEntry
->
lock
++
;
if
(
pEntry
->
lock
<
0xfe
)
pEntry
->
lock
++
;
handle
=
pEntry
->
addr
;
handle
=
pEntry
->
addr
;
}
}
...
...
dlls/kernel/tests/atom.c
View file @
f93256a5
...
@@ -37,7 +37,7 @@ static void test_add_atom(void)
...
@@ -37,7 +37,7 @@ static void test_add_atom(void)
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
atom
=
GlobalAddAtomA
(
"foobar"
);
atom
=
GlobalAddAtomA
(
"foobar"
);
ok
(
(
atom
>=
0xc000
)
&&
(
atom
<=
0xffff
)
,
"bad atom id %x"
,
atom
);
ok
(
atom
>=
0xc000
,
"bad atom id %x"
,
atom
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"GlobalAddAtomA set last error"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"GlobalAddAtomA set last error"
);
/* Verify that it can be found (or not) appropriately */
/* Verify that it can be found (or not) appropriately */
...
...
dlls/msvcrt/locale.c
View file @
f93256a5
...
@@ -21,6 +21,9 @@
...
@@ -21,6 +21,9 @@
#include "config.h"
#include "config.h"
#include "wine/port.h"
#include "wine/port.h"
#include <locale.h>
#include <stdio.h>
#include "winbase.h"
#include "winbase.h"
#include "winuser.h"
#include "winuser.h"
...
@@ -30,8 +33,6 @@
...
@@ -30,8 +33,6 @@
#include "wine/debug.h"
#include "wine/debug.h"
#include <locale.h>
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcrt
);
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcrt
);
/* FIXME: Need to hold locale for each LC_* type and aggregate
/* FIXME: Need to hold locale for each LC_* type and aggregate
...
@@ -258,8 +259,6 @@ static LCID MSVCRT_locale_to_LCID(locale_search_t* locale)
...
@@ -258,8 +259,6 @@ static LCID MSVCRT_locale_to_LCID(locale_search_t* locale)
return
lcid
;
return
lcid
;
}
}
extern
int
snprintf
(
char
*
,
int
,
const
char
*
,
...);
/* INTERNAL: Set ctype behaviour for a codepage */
/* INTERNAL: Set ctype behaviour for a codepage */
static
void
msvcrt_set_ctype
(
unsigned
int
codepage
,
LCID
lcid
)
static
void
msvcrt_set_ctype
(
unsigned
int
codepage
,
LCID
lcid
)
{
{
...
...
dlls/shell32/shell.c
View file @
f93256a5
...
@@ -139,14 +139,13 @@ UINT16 WINAPI DragQueryFile16(
...
@@ -139,14 +139,13 @@ UINT16 WINAPI DragQueryFile16(
if
(
!
lpDropFileStruct
)
goto
end
;
if
(
!
lpDropFileStruct
)
goto
end
;
lpDrop
=
(
LPSTR
)
lpDropFileStruct
+
lpDropFileStruct
->
wSize
;
lpDrop
=
(
LPSTR
)
lpDropFileStruct
+
lpDropFileStruct
->
wSize
;
wFile
=
(
wFile
==
0xffff
)
?
0xffffffff
:
wFile
;
while
(
i
++
<
wFile
)
while
(
i
++
<
wFile
)
{
{
while
(
*
lpDrop
++
);
/* skip filename */
while
(
*
lpDrop
++
);
/* skip filename */
if
(
!*
lpDrop
)
if
(
!*
lpDrop
)
{
{
i
=
(
wFile
==
0xFFFF
FFFF
)
?
i
:
0
;
i
=
(
wFile
==
0xFFFF
)
?
i
:
0
;
goto
end
;
goto
end
;
}
}
}
}
...
...
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