Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b60861e6
Commit
b60861e6
authored
Jan 16, 2009
by
Glenn Morris
Browse files
(Ffont_variation_glyphs): Silence compiler.
parent
133ea5b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/font.c
src/font.c
+3
-1
No files found.
src/ChangeLog
View file @
b60861e6
2009-01-16 Glenn Morris <rgm@gnu.org>
* font.c (Ffont_variation_glyphs): Silence compiler.
2009-01-15 Juanma Barranquero <lekktu@gmail.com>
* sound.c (SOUND_WARNING): Use _snprintf, for MSVC compatibility.
...
...
src/font.c
View file @
b60861e6
...
...
@@ -4451,8 +4451,10 @@ where
{
Lisp_Object code;
int vs = (i < 16 ? 0xFE00 + i : 0xE0100 + (i - 16));
/* Stops GCC whining about limited range of data type. */
EMACS_INT var = variations[i];
if
(
var
iations
[
i
]
>
MOST_POSITIVE_FIXNUM
)
if (var > MOST_POSITIVE_FIXNUM)
code = Fcons (make_number ((variations[i]) >> 16),
make_number ((variations[i]) & 0xFFFF));
else
...
...
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