#2 clean up warning re: window controller

closed-duplicate
nobody
None
5
2002-01-16
2002-01-15
Bob Savage
No

[localhost] bsavage % cvs -q diff GPTView.m
Index: GPTView.m
=======================================
============================
RCS file: /cvsroot/aquaterm/aquaterm/
GPTView.m,v
retrieving revision 1.2
diff -r1.2 GPTView.m
2a3
> #import "GPTWindowController.h"
32c33
< AQTGraphic *modelReference = [[[self
window] windowController] model]; // FAQ:
Typecast to GPTWindowController to avoid
warning?
---
> AQTGraphic *modelReference =
[(GPTWindowController *)[[self window]
windowController] model];

Discussion

  • Per Persson
    Per Persson
    2002-01-16

    • status: open --> closed-duplicate