Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
43b85044
Commit
43b85044
authored
Aug 04, 2000
by
Moshe Zadka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing warnings discovered by gcc -Wall
parent
0ff02f27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Modules/audioop.c
Modules/audioop.c
+1
-1
Modules/tkappinit.c
Modules/tkappinit.c
+4
-4
No files found.
Modules/audioop.c
View file @
43b85044
...
...
@@ -87,7 +87,7 @@ static int ulaw_table[256] = {
120
,
112
,
104
,
96
,
88
,
80
,
72
,
64
,
56
,
48
,
40
,
32
,
24
,
16
,
8
,
0
};
/* #define ZEROTRAP /* turn on the trap as per the MIL-STD */
/* #define ZEROTRAP
*/
/* turn on the trap as per the MIL-STD */
#define BIAS 0x84
/* define the add-in bias for 16 bit samples */
#define CLIP 32635
...
...
Modules/tkappinit.c
View file @
43b85044
...
...
@@ -18,14 +18,14 @@
int
Tcl_AppInit
(
Tcl_Interp
*
interp
)
{
Tk_Window
main
;
Tk_Window
main
_window
;
if
(
Tcl_Init
(
interp
)
==
TCL_ERROR
)
return
TCL_ERROR
;
if
(
Tk_Init
(
interp
)
==
TCL_ERROR
)
return
TCL_ERROR
;
main
=
Tk_MainWindow
(
interp
);
main
_window
=
Tk_MainWindow
(
interp
);
#ifdef WITH_MOREBUTTONS
{
...
...
@@ -33,9 +33,9 @@ Tcl_AppInit(Tcl_Interp *interp)
extern
Tcl_CmdProc
triButtonCmd
;
Tcl_CreateCommand
(
interp
,
"studbutton"
,
studButtonCmd
,
(
ClientData
)
main
,
NULL
);
(
ClientData
)
main
_window
,
NULL
);
Tcl_CreateCommand
(
interp
,
"tributton"
,
triButtonCmd
,
(
ClientData
)
main
,
NULL
);
(
ClientData
)
main
_window
,
NULL
);
}
#endif
...
...
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