Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
9509c52a
Commit
9509c52a
authored
25 years ago
by
Henrik (Grubba) Grubbström
Browse files
Options
Downloads
Patches
Plain Diff
Fixed warning.
Rev: src/modules/Gmp/mpz_glue.c:1.74
parent
930ac48d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/Gmp/mpz_glue.c
+3
-4
3 additions, 4 deletions
src/modules/Gmp/mpz_glue.c
with
3 additions
and
4 deletions
src/modules/Gmp/mpz_glue.c
+
3
−
4
View file @
9509c52a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
||| See the files COPYING and DISCLAIMER for more information.
||| See the files COPYING and DISCLAIMER for more information.
\*/
\*/
#include
"global.h"
#include
"global.h"
RCSID
(
"$Id: mpz_glue.c,v 1.7
3
2000/03/
01 08:41:35 h
ubb
e
Exp $"
);
RCSID
(
"$Id: mpz_glue.c,v 1.7
4
2000/03/
27 00:12:36 gr
ubb
a
Exp $"
);
#include
"gmp_machine.h"
#include
"gmp_machine.h"
#if defined(HAVE_GMP2_GMP_H) && defined(HAVE_LIBGMP2)
#if defined(HAVE_GMP2_GMP_H) && defined(HAVE_LIBGMP2)
...
@@ -513,8 +513,6 @@ static void mpzmod__sprintf(INT32 args)
...
@@ -513,8 +513,6 @@ static void mpzmod__sprintf(INT32 args)
static
void
mpzmod__is_type
(
INT32
args
)
static
void
mpzmod__is_type
(
INT32
args
)
{
{
INT32
r
=
0
;
if
(
args
<
1
||
sp
[
-
args
].
type
!=
T_STRING
)
if
(
args
<
1
||
sp
[
-
args
].
type
!=
T_STRING
)
error
(
"Bad argument 1 for Mpz->_is_type().
\n
"
);
error
(
"Bad argument 1 for Mpz->_is_type().
\n
"
);
...
@@ -697,6 +695,8 @@ double double_from_sval(struct svalue *s)
...
@@ -697,6 +695,8 @@ double double_from_sval(struct svalue *s)
default:
default:
error
(
"Bad argument, expected a number of some sort.
\n
"
);
error
(
"Bad argument, expected a number of some sort.
\n
"
);
}
}
/* NOT_REACHED */
return
(
double
)
0
.
0
;
/* Keep the compiler happy. */
}
}
#else
#else
...
@@ -893,7 +893,6 @@ static void mpzmod_sub(INT32 args)
...
@@ -893,7 +893,6 @@ static void mpzmod_sub(INT32 args)
static
void
mpzmod_rsub
(
INT32
args
)
static
void
mpzmod_rsub
(
INT32
args
)
{
{
INT32
e
;
struct
object
*
res
;
struct
object
*
res
;
MP_INT
*
a
;
MP_INT
*
a
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment