mirror of
https://github.com/cc65/cc65.git
synced 2025-04-08 19:38:55 +00:00
Removed comment about a cast that is no longer necessary
git-svn-id: svn://svn.cc65.org/cc65/trunk@1564 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e41c0adbb2
commit
fc714f33c2
@ -11,15 +11,6 @@
|
||||
;
|
||||
; div_t __fastcall__ div (int numer, int denom);
|
||||
;
|
||||
; Both sides of an assignment-expression must be cast to (long)
|
||||
; because cc65 functions can't return structures -- yet. Example:
|
||||
;
|
||||
; #include <stdlib.h>
|
||||
; div_t answer;
|
||||
;
|
||||
; (long)answer = (long)div(-41, +3);
|
||||
; printf("The quotient is %d, and the remainder is %d.\n",
|
||||
; answer.quot, answer.rem);
|
||||
|
||||
.export _div
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user